Overview
httpYac provides a system to provide a simple way to create, execute, and store information about HTTP requests:
- VS Code extension to create and execute requests
- CLI application to allow CI to use created http requests for testing
- httpBook for documentation of requests in a Jupyter Notebook Format
The goal is to create a simple, free and extensible development tool that follows known standards if possible. For example, for the description language of the requests, the specification mostly repeats RFC 7230 with several extensions intended for easier requests composing and editing.
Installation
- CLI:
bash
npm install -g httpyac
# OR
yarn global add httpyac
- VSCode Extension
bash
code --install-extension anweber.vscode-httpyac
- VSCode Notebook Extension
bash
code --install-extension anweber.httpbook
- Docker
bash
alias httpyac="docker run -it -v ${PWD}:/data ghcr.io/anweber/httpyac:latest"
httpyac --help
Feature comparisons
Feature | httpYac | Postman | Rest Client | Intellij Idea |
---|---|---|---|---|
Send Request and View | ✓ | ✓ | ✓ | ✓ |
-- Rest | ✓ | ✓ | ✓ | ✓ |
-- GraphQL | ✓ | ✓ | ✓ | - |
-- gRPC | ✓ | ✓ | - | - |
Variable support | ✓ | ✓ | ✓ | ✓ |
Custom Scripting support | ✓ | ✓ | - (pull request) | partially |
Test/ Assert Response | ✓ | ✓ | - (pull request) | ✓ |
Authorization support | ✓ | ✓ | partially (no custom auth flow) | - |
-- OAuth2/ OpenId Connect | ✓ | ✓ | - | - |
-- AWS Signature v4 | ✓ | ✓ | ✓ | - |
-- Basic Authentication | ✓ | ✓ | ✓ | ✓ |
-- Digest Authentication | ✓ | ✓ | ✓ | ✓ |
-- SSL Client Certificate | ✓ | ✓ | ✓ | - |
-- Custom Authentication | ✓ | ✓ | - | - |
Code Generation | ✓ | ✓ | ✓ | - |
Built-in Preview Support (Image, PDF, ...) | ✓ | - | ✓ (only Image) | - |
Share workspace | ✓ | paywall | ✓ | ✓ |
extensible/ plugin support | ✓ | partially | - | - |
cli support | ✓ | ✓ | - | - |