LinuxCommandLibrary

httpyac

CLI for executing HTTP, gRPC, WebSocket, and MQTT requests from files

TLDR

Execute all requests in an HTTP file
$ httpyac send [path/to/requests.http]
copy
Execute all requests in a directory
$ httpyac send [path/to/directory]
copy
Execute with a specific environment
$ httpyac send --env [production] [path/to/requests.http]
copy
Execute all requests in a file
$ httpyac send --all [path/to/requests.http]
copy
Run in interactive mode
$ httpyac send -i [path/to/requests.http]
copy

SYNOPSIS

httpyac send [--all] [--env name] [-i] [options] file

DESCRIPTION

httpyac is a command-line interface for executing requests defined in .http and .rest files. It supports HTTP, REST, GraphQL, WebSocket, gRPC, and MQTT protocols. The tool provides built-in support for authentication methods including OAuth2, AWS, Basic, Digest, and SSL client certificates.
httpyac supports variables, environments (including dotenv files), and scripting for complex test scenarios. It can be used for quick one-off requests or automated API testing in CI/CD pipelines.

CAVEATS

Requires Node.js runtime. Request file format follows the IntelliJ HTTP client specification with extensions. Complex scripting may require familiarity with JavaScript.

HISTORY

httpyac was created by Andreas Weber (AnWeber) and is written in TypeScript/JavaScript. It is also available as a VS Code extension for integrated HTTP request execution within the editor.

SEE ALSO

curl(1), hurl(1), httpie(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard