Editing Curl --help

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{lowercase}}
+
<pre>
curl --help
+
curl --help
Usage: curl [options...] <url>
+
Usage: curl [options...] <url>
      --abstract-unix-socket <path> Connect via abstract Unix domain socket
+
    --abstract-unix-socket <path> Connect via abstract Unix domain socket
      --alt-svc <file name> Enable alt-svc with this cache file
+
    --alt-svc <file name> Enable alt-svc with this cache file
      --anyauth      Pick any authentication method
+
    --anyauth      Pick any authentication method
  -a, --append        Append to target file when uploading
+
-a, --append        Append to target file when uploading
      --basic        Use HTTP Basic Authentication
+
    --basic        Use HTTP Basic Authentication
      --cacert <file> CA certificate to verify peer against
+
    --cacert <file> CA certificate to verify peer against
      --capath <dir>  CA directory to verify peer against
+
    --capath <dir>  CA directory to verify peer against
  -E, --cert <certificate[:password]> Client certificate file and password
+
-E, --cert <certificate[:password]> Client certificate file and password
      --cert-status  Verify the status of the server certificate
+
    --cert-status  Verify the status of the server certificate
      --cert-type <type> Certificate file type (DER/PEM/ENG)
+
    --cert-type <type> Certificate file type (DER/PEM/ENG)
      --ciphers <list of ciphers> SSL ciphers to use
+
    --ciphers <list of ciphers> SSL ciphers to use
      --compressed    Request compressed response
+
    --compressed    Request compressed response
      --compressed-ssh Enable SSH compression
+
    --compressed-ssh Enable SSH compression
  -K, --config <file> Read config from a file
+
-K, --config <file> Read config from a file
      --connect-timeout <seconds> Maximum time allowed for connection
+
    --connect-timeout <seconds> Maximum time allowed for connection
      --connect-to <HOST1:PORT1:HOST2:PORT2> Connect to host
+
    --connect-to <HOST1:PORT1:HOST2:PORT2> Connect to host
  -C, --continue-at <offset> Resumed transfer offset
+
-C, --continue-at <offset> Resumed transfer offset
  -b, --cookie <data|filename> Send cookies from string/file
+
-b, --cookie <data|filename> Send cookies from string/file
  -c, --cookie-jar <filename> Write cookies to <filename> after operation
+
-c, --cookie-jar <filename> Write cookies to <filename> after operation
      --create-dirs  Create necessary local directory hierarchy
+
    --create-dirs  Create necessary local directory hierarchy
      --crlf          Convert LF to CRLF in upload
+
    --crlf          Convert LF to CRLF in upload
      --crlfile <file> Get a CRL list in PEM format from the given file
+
    --crlfile <file> Get a CRL list in PEM format from the given file
  [[-d]], --data <data>  [[HTTP POST]] data
+
-d, --data <data>  HTTP POST data
      --data-ascii <data> HTTP POST ASCII data  
+
    --data-ascii <data> HTTP POST ASCII data
      --data-binary <data> HTTP POST binary data
+
    --data-binary <data> HTTP POST binary data
      --data-raw <data> HTTP POST data, '@' allowed  
+
    --data-raw <data> HTTP POST data, '@' allowed
      --data-urlencode <data> HTTP POST data url encoded
+
    --data-urlencode <data> HTTP POST data url encoded
      --delegation <LEVEL> GSS-API delegation permission
+
    --delegation <LEVEL> GSS-API delegation permission
      --digest        Use HTTP Digest Authentication
+
    --digest        Use HTTP Digest Authentication
  -q, --disable      Disable .curlrc
+
-q, --disable      Disable .curlrc
      --disable-eprt  Inhibit using EPRT or LPRT
+
    --disable-eprt  Inhibit using EPRT or LPRT
      --disable-epsv  Inhibit using EPSV
+
    --disable-epsv  Inhibit using EPSV
      --disallow-username-in-url Disallow username in url
+
    --disallow-username-in-url Disallow username in url
      --dns-interface <interface> Interface to use for DNS requests
+
    --dns-interface <interface> Interface to use for DNS requests
      --dns-ipv4-addr <address> IPv4 address to use for DNS requests
+
    --dns-ipv4-addr <address> IPv4 address to use for DNS requests
      --dns-ipv6-addr <address> IPv6 address to use for DNS requests
+
    --dns-ipv6-addr <address> IPv6 address to use for DNS requests
 
     --dns-servers <addresses> DNS server addrs to use
 
     --dns-servers <addresses> DNS server addrs to use
      --doh-url <URL> Resolve host names over DOH
+
    --doh-url <URL> Resolve host names over DOH
  -D, --dump-header <filename> Write the received headers to <filename>
+
-D, --dump-header <filename> Write the received headers to <filename>
      --egd-file <file> EGD socket path for random data
+
    --egd-file <file> EGD socket path for random data
      --engine <name> Crypto engine to use
+
    --engine <name> Crypto engine to use
      --expect100-timeout <seconds> How long to wait for 100-continue
+
    --expect100-timeout <seconds> How long to wait for 100-continue
  -f, --fail          Fail silently (no output at all) on HTTP errors
+
-f, --fail          Fail silently (no output at all) on HTTP errors
      --fail-early    Fail on first transfer error, do not continue
+
    --fail-early    Fail on first transfer error, do not continue
      --false-start  Enable TLS False Start
+
    --false-start  Enable TLS False Start
  [[-F]], --form <name=content> Specify multipart [[MIME]] data
+
-F, --form <name=content> Specify multipart MIME data
      --form-string <name=string> Specify multipart MIME data
+
    --form-string <name=string> Specify multipart MIME data
 
     --ftp-account <data> Account data string
 
     --ftp-account <data> Account data string
 
     --ftp-alternative-to-user <command> String to replace USER [name]
 
     --ftp-alternative-to-user <command> String to replace USER [name]
Line 64: Line 64:
 
     --happy-eyeballs-timeout-ms <milliseconds> How long to wait in milliseconds for IPv6 before trying IPv4
 
     --happy-eyeballs-timeout-ms <milliseconds> How long to wait in milliseconds for IPv6 before trying IPv4
 
     --haproxy-protocol Send HAProxy PROXY protocol v1 header
 
     --haproxy-protocol Send HAProxy PROXY protocol v1 header
  [[-I]], --head          Show document info only
+
  -I, --head          Show document info only
 
  -H, --header <header/@file> Pass custom header(s) to server
 
  -H, --header <header/@file> Pass custom header(s) to server
 
  -h, --help          This help text
 
  -h, --help          This help text
Line 163: Line 163:
 
     --remote-name-all Use the remote file name for all URLs
 
     --remote-name-all Use the remote file name for all URLs
 
  -R, --remote-time  Set the remote file's time on the local output
 
  -R, --remote-time  Set the remote file's time on the local output
  [[curl -X|-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
Line 172: Line 172:
 
     --sasl-ir      Enable initial response in SASL authentication
 
     --sasl-ir      Enable initial response in SASL authentication
 
     --service-name <name> SPNEGO service name
 
     --service-name <name> SPNEGO service name
  -S, [[--show-error]]   Show error even when -s is used
+
  -S, --show-error    Show error even when -s is used
  [[-s]], [[--silent]]       Silent mode
+
  -s, --silent        Silent mode
 
     --socks4 <host[:port]> SOCKS4 proxy on given host + port
 
     --socks4 <host[:port]> SOCKS4 proxy on given host + port
 
     --socks4a <host[:port]> SOCKS4a proxy on given host + port
 
     --socks4a <host[:port]> SOCKS4a proxy on given host + port
Line 214: Line 214:
 
     --trace-time    Add time stamps to trace/verbose output
 
     --trace-time    Add time stamps to trace/verbose output
 
     --unix-socket <path> Connect through this Unix domain socket
 
     --unix-socket <path> Connect through this Unix domain socket
  <code>[[curl -T|-T]]</code>, --upload-file <file> Transfer local FILE to destination
+
  -T, --upload-file <file> Transfer local FILE to destination
 
     --url <url>    URL to work with
 
     --url <url>    URL to work with
 
  -B, --use-ascii    Use ASCII/text transfer
 
  -B, --use-ascii    Use ASCII/text transfer

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Templates used on this page:

Advertising: