4.7.1 • Published 2 years ago

httpyacd v4.7.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

httpYac - Yet another Rest Client

httpyac CLI provides a command line interface to execute .http and .rest files. This can be used to quickly execute a single *.http file, but also to execute all files in a folder. httpyac supports HTTP, Rest, GraphQL, WebSocket und gRPC Requests

Installation

npm install -g httpyac
httpyac --version

Commands

> httpyac --help

usage: httpyac [options...] <file or glob pattern>
       --all           execute all http requests in a http file
       --bail          stops when a test case fails
       --editor        enter a new request and execute it
  -e   --env           list of environemnts
       --filter        filter requests output (only-failed)
  -h   --help          help
       --insecure      allow insecure server connections when using ssl
  -i   --interactive   do not exit the program after request, go back to selection
       --json          use json output
  -l   --line          line of the http requests
  -n   --name          name of the http requests
       --no-color      disable color support
  -o   --output        output format of response (short, body, headers, response, exchange, none)
       --output-failed output format of failed response (short, body, headers, response, exchange, none)
       --raw           prevent formatting of response body
  -r   --repeat        repeat count for requests
       --repeat-mode   repeat mode: sequential, parallel (default)
  -s   --silent        log only request
       --timeout       maximum time allowed for connections
       --var           set variables
  -v   --verbose       make the operation more talkative
       --version       version of httpyac

--editor option only works on linux and mac (see)

Example

@user = doe
@password = 12345678

GET https://httpbin.org/basic-auth/{{user}}/{{password}}
Authorization: Basic {{user}} {{password}}

more examples and guide

License

MIT License

Change Log

CHANGELOG