AvatargURL

Options

Command flags and global options for gURL

Command-Line Options

Explore the complete list of global flags and command-specific options for gurl.

Global Flags

FlagDescription
-k, --insecureAllow insecure server connections
--timeout <duration>Request timeout (default: 30s)
--max-redirects <int>Maximum number of redirects to follow (default: 10)
--wait-time <duration>Wait for the specified duration before making the request

Request Command Flags

FlagDescription
-X, --method <string>HTTP method to use (default: GET)
-d, --data <string>Request body data
-H, --header <string[]>Custom request headers
-v, --verboseShow detailed request/response output
-o, --output <string>Write response to a file
-j, --jsonFormat and colorize JSON response
-L, --followAutomatically follow redirects
--json-requestSet Content-Type to application/json
--formSet Content-Type to application/x-www-form-urlencoded
--no-prettyDisable pretty JSON output formatting

Download Command Flags

FlagDescription
-o, --output <string>Save file with the specified name
-P, --directory <string>Save file to the given directory
-c, --continueResume partially downloaded files
-q, --quietQuiet mode – hide progress bar
-k, --insecureAllow insecure connections
-t, --timeout <duration>Set download timeout (default: 30s)
-n, --no-redirectDo not follow redirects
--max-redirects <int>Max number of redirects to follow (default: 10)
-r, --tries <int>Retry attempts (default: 3, 0 disables retries)
--retry-delay <duration>Wait time between retries (default: 2s)

These options give you full control over how gURL behaves—from crafting HTTP requests to downloading files and debugging APIs. Use them to fine-tune your experience and build powerful workflows.

On this page