Skip to Main content

tuyen send

Send an HTTP request and display the response.

Usage

tuyen send [OPTIONS] <URL>

Arguments

[url]

  • Target URL to send the request to.
  • Required: Yes.

Options

-m, --method <METHOD>

  • HTTP method to use for the request.
  • Default value: GET.

-H, --headers <HEADERS>

  • Custom headers in "Key: Value" format, can be specified multiple times.

--timeout <TIMEOUT>

  • Request timeout in seconds.
  • Default value: 600.

-a, --all <ALL>

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

-b, --body <BODY>

  • Request body content for POST or PUT requests.

-o, --output <OUTPUT>

  • Save the response body to this file path.

-z, --zip <ZIP>

  • Send Accept-Encoding header to request compressed responses.
  • Possible values: true, false.

-h, --help

  • Print help.