Skip to content

ANNEX A (informative): curl Command Options

The example requests in this guide use curl commands with the following options:

Option Description
-d, --data <DATA> Sends specified <DATA> in a request to the server.
-D, --dump-header <FILENAME> Dumps response headers. If <FILENAME> is - , dumps headers to the console.
-H, --header <HEADER> Sends specified request header.
-k, --insecure Proceeds even for insecure TLS connections.
-L, --location Follows redirects.
-s, --silent Runs in silent or quiet mode.
-X, --request <COMMAND> Uses the <COMMAND> method instead of the default GET method.

Next section