Skip to Main content

tuyen send

Send an HTTP request and display the response

Usage

tuyen send [OPTIONS] <URL>

Arguments

[url]

Target URL

Options

-m, --method <METHOD>

HTTP method (GET, POST, PUT, DELETE, etc.). Default: GET
Default values: GET

-H, --headers <HEADERS>

Custom headers in "Key: Value" format (repeatable)

--timeout <TIMEOUT>

Request timeout in seconds (default: 600)
Default values: 600

-a, --all <ALL>

Print all response headers in the output
Possible values: true, false

-b, --body <BODY>

Request body content (for POST/PUT requests)

-o, --output <OUTPUT>

Save the response body to this file path

-z, --zip <ZIP>

Send Accept-Encoding header for compressed responses (gzip, deflate, br, zstd)
Possible values: true, false

-h, --help

Print help.