Difference between revisions of "Curl -X"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
  
 
<code>[[curl --help]]</code>
 
<code>[[curl --help]]</code>
  -X, --request <command> Specify request command to use
+
  -X, [[--request]] <command> Specify request command to use
 
     --request-target Specify the target for this request
 
     --request-target Specify the target for this request
 
     --resolve <host:port:address[,address]...> Resolve the host+port to this address
 
     --resolve <host:port:address[,address]...> Resolve the host+port to this address

Revision as of 12:39, 13 October 2021

curl --help

-X, --request <command> Specify request command to use
   --request-target Specify the target for this request
   --resolve <host:port:address[,address]...> Resolve the host+port to this address
   --retry <num>   Retry request if transient problems occur
   --retry-connrefused Retry on connection refused (use with --retry)
   --retry-delay <seconds> Wait time between retries
   --retry-max-time <seconds> Retry only within this period
   --sasl-ir       Enable initial response in SASL authentication
   --service-name <name> SPNEGO service name

See also

Advertising: