← 返回命令列表

Linux command

httpyac 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Execute all requests

httpyac send [path/to/requests.http]

Execute all requests

httpyac send [path/to/directory]

Execute with a specific environment

httpyac send --env [production] [path/to/requests.http]

Execute all requests

httpyac send --all [path/to/requests.http]

Run in interactive mode

httpyac send -i [path/to/requests.http]

说明

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.

FAQ

What is the httpyac command used for?

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.

How do I run a basic httpyac example?

Run `httpyac send [path/to/requests.http]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more httpyac examples?

This page includes 5 examples for httpyac, plus related commands for nearby Linux tasks.