Lines Matching full:example
55 "ftp://ftp.example.com/file[1-100].txt"
57 "ftp://ftp.example.com/file[001-100].txt" (with leading zeros)
59 "ftp://ftp.example.com/file[a-z].txt"
64 "http://example.com/archive[1996-1999]/vol[1-4]/part{a,b,c}.html"
73 "http://example.com/file[1-100:10].txt"
75 "http://example.com/file[a-z:2].txt"
80 for example \(aq&', '?' and '*'.
89 based on often-used host name prefixes. For example, for host names starting
163 second. The suffixes (k, M, G, T, P) are 1024 based. For example 1k is 1024
185 The short "single-dash" form of the options, \-d for example, may be used with
187 separator. The long "double-dash" form, \fI\-d, \-\-data\fP for example, requires a space
191 immediately next to each other, like for example you can specify all the
203 Example:
205 curl --abstract-unix-socket socketpath https://example.com
220 Example:
222 curl --alt-svc svc.txt https://example.com
240 Example:
242 curl --anyauth --user me:pwd https://example.com
251 Example:
253 curl --upload-file local --append ftp://example.com/
268 Example:
270 curl --aws-sigv4 "aws:amz:east-2:es" --user "key:secret" https://example.com
282 Example:
284 curl -u name:password --basic https://example.com
318 Example:
320 curl --cacert CA-file.txt https://example.com
334 Example:
336 curl --capath /local/directory https://example.com
348 Example:
350 curl --cert-status https://example.com
360 Example:
362 curl --cert-type PEM --cert file https://example.com
402 in the system certificates store, for example,
411 Example:
413 curl --cert certfile --key keyfile https://example.com
425 Example:
427 curl --ciphers ECDHE-ECDSA-AES256-CCM8 https://example.com
433 Example:
435 curl --compressed-ssh sftp://example.com/
447 Example:
449 curl --compressed https://example.com
502 # \-\-\- Example file \-\-\-
504 url = "example.com"
509 url = "example.com/docs/manpage.html"
511 referer = "http://nowhereatall.example.com/"
512 # \-\-\- End of example file \-\-\-
517 Example:
519 curl --config file.txt https://example.com
531 curl --connect-timeout 20 https://example.com
532 curl --connect-timeout 3.14 https://example.com
549 "127.0.0.1" or the full host name such as "example.org".
553 Example:
555 curl --connect-to example.com:443:example.net:8443 https://example.com
572 curl -C - https://example.com
573 curl -C 400 https://example.com
599 curl -c store-here.txt https://example.com
600 curl -c store-here.txt -b read-these https://example.com
633 curl -b cookiefile https://example.com
634 curl -b cookiefile -c cookiefile https://example.com
647 Example:
649 curl --create-dirs --output local/dir/file https://example.com
660 Example:
662 curl --create-file-mode 0777 -T localfile sftp://example.com/new
671 Example:
673 curl --crlf -T file ftp://example.com/
681 Example:
683 curl --crlfile rejects.txt https://example.com
698 Example:
700 curl --curves X25519 https://example.com
707 Example:
709 curl --data-ascii @file https://example.com
726 Example:
728 curl --data-binary @filename https://example.com
736 curl --data-raw "hello" https://example.com
737 curl --data-raw "@at@at@" https://example.com
771 curl --data-urlencode name=val https://example.com
772 curl --data-urlencode =encodethis https://example.com
773 curl --data-urlencode name@file https://example.com
774 curl --data-urlencode @fileonly https://example.com
803 curl -d "name=curl" https://example.com
804 curl -d "name=curl" -d "tool=cmdline" https://example.com
805 curl -d @filename https://example.com
824 Example:
826 curl --delegation "none" https://example.com
835 Example:
837 curl -u name:password --digest https://example.com
858 Example:
860 curl --disable-eprt ftp://example.com/
876 Example:
878 curl --disable-epsv ftp://example.com/
885 Example:
887 curl -q https://example.com
893 Example:
895 curl --disallow-username-in-url https://example.com
904 Example:
906 curl --dns-interface eth0 https://example.com
917 Example:
919 curl --dns-ipv4-addr 10.1.2.3 https://example.com
930 Example:
932 curl --dns-ipv6-addr 2a04:4e42::561 https://example.com
944 Example:
946 curl --dns-servers 192.168.0.1,192.168.0.2 https://example.com
953 Example:
955 curl --doh-cert-status --doh-url https://doh.example https://example.com
962 Example:
964 curl --doh-insecure --doh-url https://doh.example https://example.com
979 Example:
981 curl --doh-url https://doh.example https://example.com
994 Example:
996 curl --dump-header store.txt https://example.com
1004 Example:
1006 curl --egd-file /random/here https://example.com
1015 Example:
1017 curl --engine flavor https://example.com
1032 Example:
1034 curl --etag-compare etag.txt https://example.com
1044 Example:
1046 curl --etag-save storetag.txt https://example.com
1056 Example:
1058 curl --expect100-timeout 2.5 -T file https://example.com
1081 Example:
1083 curl --fail-early https://example.com https://two.example
1097 Example:
1099 curl --fail-with-body https://example.com
1114 Example:
1116 curl --fail https://example.com
1129 Example:
1131 curl --false-start https://example.com
1142 Example:
1144 curl --form-string "data" https://example.com
1172 Example: send an image to an HTTP server, where \&\(aqprofile' is the name of the
1175 curl \-F [email protected] https://example.com/upload.cgi
1177 Example: send your name and shoe size in two text fields to the server:
1179 curl \-F name=John \-F shoesize=11 https://example.com/
1181 Example: send your essay in a text field to the server. Send it as a plain
1184 curl \-F "story=<hugefile.txt" https://example.com/
1189 curl \-F "[email protected];type=text/html" example.com
1193 curl \-F "name=daniel;type=text/foo" example.com
1198 curl \-F "file=@localfile;filename=nameinpost" example.com
1202 curl \-F "file=@\\"local,file\\";filename=\\"name;in;post\\"" example.com
1206 curl \-F \(aqfile=@"local,file";filename="name;in;post"' example.com
1214 curl \-F \(aqcolors="red; green; blue";type=text/x-myapp' example.com
1218 curl \-F "submit=OK;headers=\\"X-submit-type: OK\\"" example.com
1222 curl \-F "submit=OK;headers=@headerfile" example.com
1229 Here is an example of a header file contents:
1251 Example: the following command sends an SMTP mime e-mail consisting in an
1261 \-F \(aq=)' \-F '[email protected]' ... smtp://example.com
1270 Example: send multipart mail with a quoted-printable text message and a
1275 \-F \(aq=@localfile;encoder=base64' ... smtp://example.com
1281 Example:
1283 curl --form "name=curl" --form "file=@loadthis" https://example.com
1293 Example:
1295 curl --ftp-account "mr.robot" ftp://example.com/
1303 Example:
1305 curl --ftp-alternative-to-user "U53r" ftp://example.com
1312 Example:
1314 curl --ftp-create-dirs -T file ftp://example.com/remote/path/file
1337 curl --ftp-method multicwd ftp://example.com/dir1/dir2/file
1338 curl --ftp-method nocwd ftp://example.com/dir1/dir2/file
1339 curl --ftp-method singlecwd ftp://example.com/dir1/dir2/file
1353 Example:
1355 curl --ftp-pasv ftp://example.com/
1389 curl -P - ftp:/example.com
1390 curl -P eth0 ftp:/example.com
1391 curl -P 192.168.0.2 ftp:/example.com
1400 Example:
1402 curl --ftp-pret ftp://example.com/
1414 Example:
1416 curl --ftp-skip-pasv-ip ftp://example.com/
1426 Example:
1428 curl --ftp-ssl-ccc-mode active --ftp-ssl-ccc ftps://example.com/
1438 Example:
1440 curl --ftp-ssl-ccc ftps://example.com/
1449 Example:
1451 curl --ftp-ssl-control ftp://example.com
1468 curl --get https://example.com
1469 curl --get -d "tool=curl" -d "age=old" https://example.com
1470 curl --get -I -d "tool=curl" https://example.com
1478 Example:
1480 curl -g "https://example.com/{[]}}}}"
1496 Example:
1498 curl --happy-eyeballs-timeout-ms 500 https://example.com
1510 Example:
1512 curl --haproxy-protocol https://example.com
1521 Example:
1523 curl -I https://example.com
1561 curl -H "X-First-Name: Joe" https://example.com
1562 curl -H "User-Agent: yes-please/2000" https://example.com
1563 curl -H "Host:" https://example.com
1575 Example:
1584 Example:
1586 curl --hostpubmd5 e5c1c49020640a5ab0f2034854c321a8 sftp://example.com/
1593 Example:
1595 curl --hostpubsha256 NDVkMTQxMGQ1ODdmMjQ3MjczYjAyOTY5MmRkMjVmNDQ= sftp://example.com/
1610 Example:
1612 curl --hsts cache.txt https://example.com
1625 Example:
1627 curl --http0.9 https://example.com
1635 Example:
1637 curl --http1.0 https://example.com
1644 Example:
1646 curl --http1.1 https://example.com
1656 Example:
1658 curl --http2-prior-knowledge https://example.com
1671 Example:
1673 curl --http2 https://example.com
1688 Example:
1690 curl --http3 https://example.com
1704 Example:
1706 curl --ignore-content-length https://example.com
1715 Example:
1717 curl -i https://example.com
1734 Example:
1736 curl --insecure https://example.com
1742 name, IP address or host name. An example could look like:
1744 curl \-\-interface eth0:1 https://www.example.com/
1752 Example:
1754 curl --interface eth0 https://example.com
1760 example try IPv6.
1762 Example:
1764 curl --ipv4 https://example.com
1770 example try IPv4.
1772 Example:
1774 curl --ipv6 https://example.com
1784 Example:
1786 curl --junk-session-cookies -b cookies.txt https://example.com
1800 Example:
1802 curl --keepalive-time 20 https://example.com
1810 Example:
1812 curl --key-type DER --key here https://example.com
1828 Example:
1830 curl --cert certificate --key here https://example.com
1839 Example:
1841 curl --krb clear ftp://example.com/
1856 Example:
1858 curl --libcurl client.c https://example.com
1869 are 1024 based. For example 1k is 1024. Examples: 200K, 3m and 1G.
1882 curl --limit-rate 100K https://example.com
1883 curl --limit-rate 1000 https://example.com
1884 curl --limit-rate 10M https://example.com
1906 Example:
1908 curl --list-only ftp://example.com/dir/
1916 Example:
1918 curl --local-port 1000-3000 https://example.com
1926 Example:
1928 curl --location-trusted -u user:password https://example.com
1954 Example:
1956 curl -L https://example.com
1968 Example:
1970 curl --login-options 'AUTH=*' imap://example.com
1979 Example:
1981 curl --mail-auth user@example.come -T mail smtp://example.com/
1988 Example:
1990 curl --mail-from user@example.com -T mail smtp://example.com/
2007 Example:
2009 curl --mail-rcpt-allowfails --mail-rcpt dest@example.com smtp://example.com
2025 Example:
2027 curl --mail-rcpt user@example.net smtp://example.com
2032 Example:
2041 A size modifier may be used. For example, Appending \(aqk' or 'K' will count the
2048 Example:
2050 curl --max-filesize 100K https://example.com
2061 Example:
2063 curl --max-redirs 3 --location https://example.com
2076 curl --max-time 10 https://example.com
2077 curl --max-time 2.92 https://example.com
2085 Example:
2087 curl --metalink file https://example.com
2101 Example:
2103 curl --negotiate -u : https://example.com
2115 Example:
2117 curl --netrc-file netrc https://example.com
2125 Example:
2127 curl --netrc-optional https://example.com
2140 A quick and simple example of how to setup a \fI.netrc\fP to allow curl to FTP to
2146 Example:
2148 curl --netrc https://example.com
2153 specific options, for example, such as different user names or custom requests
2160 For example, you can do both a GET and a POST in a single command line:
2163 curl www1.example.com \-\-next \-d postthis www2.example.com
2168 curl https://example.com --next -d postthis www2.example.com
2169 curl -I https://example.com --next https://example.net/
2178 Example:
2180 curl --no-alpn https://example.com
2193 Example:
2195 curl --no-buffer https://example.com
2204 Example:
2206 curl --no-keepalive https://example.com
2213 Example:
2215 curl --no-npn https://example.com
2226 Example:
2228 curl --no-progress-meter -o store https://example.com
2242 Example:
2244 curl --no-sessionid https://example.com
2251 example, local.com would match local.com, local.com:80, and www.local.com, but
2258 Example:
2260 curl --noproxy "www.example" https://example.com
2266 Example:
2268 curl --ntlm-wb -u user:password https://example.com
2285 Example:
2287 curl --ntlm -u user:password https://example.com
2300 Example:
2302 curl --oauth2-bearer "mF_9.B5f-4.1JqM" https://example.com
2320 Example:
2322 curl --output-dir "tmp" -O https://example.com
2332 curl "http://{one,two}.example.com" \-o "file_#1.txt"
2339 example, if you specify two URLs on the same command line, you can use it like
2342 curl \-o aa example.com \-o bb example.net
2348 curl example.com example.net \-o aa \-o bb
2356 curl example.com \-o /dev/null
2360 curl example.com \-o nul
2364 curl -o file https://example.com
2365 curl "http://{one,two}.example.com" -o "file_#1.txt"
2367 curl -o file https://example.com -o file2 https://example.net
2380 Example:
2382 curl --parallel-immediate -Z https://example.com -o file1 https://example.com -o file2
2395 Example:
2397 curl --parallel-max 100 -Z https://example.com ftp://example.com/
2408 Example:
2410 curl --parallel https://example.com -o file1 https://example.com -o file2
2419 Example:
2421 curl --pass secret --key file https://example.com
2428 Example:
2430 curl --path-as-is https://example.com/../../etc/passwd
2465 curl --pinnedpubkey keyfile https://example.com
2466 curl --pinnedpubkey 'sha256//ce118b51897f4452dc' https://example.com
2477 Example:
2479 curl --post301 --location -d "data" https://example.com
2490 Example:
2492 curl --post302 --location -d "data" https://example.com
2502 Example:
2504 curl --post303 --location -d "data" https://example.com
2527 Example:
2529 curl --preproxy socks5://proxy.example -x http://http.example https://example.com
2546 Example:
2548 curl -# -O https://example.com
2561 Example:
2563 curl --proto-default https ftp.example.com
2572 Example, allow only HTTP and HTTPS on redirect:
2574 curl \-\-proto-redir \-all,http,https http://example.com
2580 Example:
2582 curl --proto-redir =http,https https://example.com
2603 For example:
2623 Example:
2625 curl --proto =http,https,sftp https://example.com
2633 Example:
2635 curl --proxy-anyauth --proxy-user user:passwd -x proxy https://example.com
2644 Example:
2646 curl --proxy-basic --proxy-user user:passwd -x proxy https://example.com
2653 Example:
2655 curl --proxy-cacert CA-file.txt -x https://proxy https://example.com
2662 Example:
2664 curl --proxy-capath /local/directory -x https://proxy https://example.com
2671 Example:
2673 curl --proxy-cert-type PEM --proxy-cert file -x https://proxy https://example.com
2680 Example:
2682 curl --proxy-cert file -x https://proxy https://example.com
2689 Example:
2691 curl --proxy-ciphers ECDHE-ECDSA-AES256-CCM8 -x https://proxy https://example.com
2698 Example:
2700 curl --proxy-crlfile rejects.txt -x https://proxy https://example.com
2708 Example:
2710 curl --proxy-digest --proxy-user user:passwd -x proxy https://example.com
2736 curl --proxy-header "X-First-Name: Joe" -x http://proxy https://example.com
2737 curl --proxy-header "User-Agent: surprise" -x http://proxy https://example.com
2738 curl --proxy-header "Host:" -x http://proxy https://example.com
2745 Example:
2747 curl --proxy-insecure -x https://proxy https://example.com
2754 Example:
2756 curl --proxy-key-type DER --proxy-key here -x https://proxy https://example.com
2763 Example:
2765 curl --proxy-key here -x https://proxy https://example.com
2774 Example:
2776 curl --proxy-negotiate --proxy-user user:passwd -x proxy https://example.com
2784 Example:
2786 curl --proxy-ntlm --proxy-user user:passwd -x http://proxy https://example.com
2793 Example:
2795 curl --proxy-pass secret --proxy-key here -x https://proxy https://example.com
2814 curl --proxy-pinnedpubkey keyfile https://example.com
2815 curl --proxy-pinnedpubkey 'sha256//ce118b51897f4452dc' https://example.com
2822 Example:
2824 curl --proxy-service-name "shrubbery" -x proxy https://example.com
2831 Example:
2833 curl --proxy-ssl-allow-beast -x https://proxy https://example.com
2840 Example:
2842 curl --proxy-ssl-auto-client-cert -x https://proxy https://example.com
2859 Example:
2861 curl --proxy-tls13-ciphers TLS_AES_128_GCM_SHA256 -x proxy https://example.com
2868 Example:
2870 curl --proxy-tlsauthtype SRP -x https://proxy https://example.com
2877 Example:
2879 curl --proxy-tlspassword passwd -x https://proxy https://example.com
2886 Example:
2888 curl --proxy-tlsuser smith -x https://proxy https://example.com
2895 Example:
2897 curl --proxy-tlsv1 -x https://proxy https://example.com
2916 Example:
2918 curl --proxy-user name:pwd -x proxy https://example.com
2956 Example:
2958 curl --proxy http://proxy.example https://example.com
2968 Example:
2970 curl --proxy1.0 -x http://proxy https://example.com
2981 Example:
2983 curl --proxytunnel -x http://proxy https://example.com
2998 Example:
3000 curl --pubkey file.pub sftp://example.com/
3064 Example:
3066 curl --quote "DELE file" ftp://example.com/foo
3073 Example:
3075 curl --random-file rubbish https://example.com
3120 Example:
3122 curl --range 22-44 https://example.com
3128 Example:
3130 curl --raw https://example.com
3143 curl --referer "https://fake.example" https://example.com
3144 curl --referer "https://fake.example;auto" -L https://example.com
3145 curl --referer ";auto" -L https://example.com
3165 Example:
3167 curl -OJ https://example.com/file
3175 Example:
3177 curl --remote-name-all ftp://example.com/file1 ftp://example.com/file2
3198 Example:
3200 curl -O https://example.com/filename
3207 Example:
3209 curl --remote-time -o foo https://example.com
3217 Example:
3219 curl --request-target "*" -X OPTIONS https://example.com
3235 alter the way curl behaves. So for example if you want to make a proper HEAD
3239 if you for example use \fI\-L, \-\-location\fP may cause unintended side-effects when curl
3261 curl -X "DELETE" https://example.com
3262 curl -X NLST ftp://example.com/
3296 Example:
3298 curl --resolve example.com:443:127.0.0.1 https://example.com
3307 example below.
3311 possible with redirected input or output. For example, before retrying it
3319 error, if the transfer was successful. For example, if a server replies 404
3326 Example:
3328 curl --retry-all-errors https://example.com
3336 Example:
3338 curl --retry-connrefused --retry https://example.com
3350 Example:
3352 curl --retry-delay 5 --retry https://example.com
3364 Example:
3366 curl --retry-max-time 30 --retry 10 https://example.com
3386 Example:
3388 curl --retry 7 https://example.com
3397 to, or a shared mailbox for example.
3399 Example:
3401 curl --sasl-authzid zid imap://example.com/
3408 Example:
3410 curl --sasl-ir imap://example.com/
3419 Example:
3421 curl --service-name sockd/server https://example.com
3431 Example:
3433 curl --show-error --silent https://example.com
3445 Example:
3447 curl -s https://example.com
3468 Example:
3470 curl --socks4 hostname:4096 https://example.com
3488 Example:
3490 curl --socks4a hostname:4096 https://example.com
3497 Example:
3499 curl --socks5-basic --socks5 hostname:4096 https://example.com
3509 Example:
3511 curl --socks5-gssapi-nec --socks5 hostname:4096 https://example.com
3522 Example:
3524 curl --socks5-gssapi-service sockd --socks5 hostname:4096 https://example.com
3532 Example:
3534 curl --socks5-gssapi --socks5 hostname:4096 https://example.com
3554 Example:
3556 curl --socks5-hostname proxy.example:7000 https://example.com
3576 Example:
3578 curl --socks5 proxy.example:7000 https://example.com
3587 Example:
3589 curl --speed-limit 300 --speed-time 10 https://example.com
3601 Example:
3603 curl --speed-limit 300 --speed-time 10 https://example.com
3614 Example:
3616 curl --ssl-allow-beast https://example.com
3626 Example:
3628 curl --ssl-auto-client-cert https://example.com
3637 Example:
3639 curl --ssl-no-revoke https://example.com
3649 Example:
3651 curl --ssl-reqd ftp://example.com
3658 Example:
3660 curl --ssl-revoke-best-effort https://example.com
3672 Example:
3674 curl --ssl pop3://example.com/
3681 Example:
3683 curl --sslv2 https://example.com
3692 Example:
3694 curl --sslv3 https://example.com
3707 Example:
3709 curl --stderr output.txt https://example.com
3720 Example:
3722 curl --styled-output -I https://example.com
3732 Example:
3734 curl --suppress-connect-headers --include -x proxy https://example.com
3741 Example:
3743 curl --tcp-fastopen https://example.com
3754 Example:
3756 curl --tcp-nodelay https://example.com
3767 Example:
3769 curl -t TTYPE=vt100 telnet://example.com/
3778 Example:
3780 curl --tftp-blksize 1024 tftp://example.com/file
3789 Example:
3810 curl -z "Wed 01 Sep 2021 12:18:00" https://example.com
3811 curl -z "-Wed 01 Sep 2021 12:18:00" https://example.com
3812 curl -z file https://example.com
3836 curl --tls-max 1.2 https://example.com
3837 curl --tls-max 1.3 --tlsv1.2 https://example.com
3854 Example:
3856 curl --tls13-ciphers TLS_AES_128_GCM_SHA256 https://example.com
3867 Example:
3869 curl --tlsauthtype SRP https://example.com
3877 Example:
3879 curl --tlspassword pwd --tlsuser user https://example.com
3887 Example:
3889 curl --tlspassword pwd --tlsuser user https://example.com
3898 Example:
3900 curl --tlsv1.0 https://example.com
3911 Example:
3913 curl --tlsv1.1 https://example.com
3924 Example:
3926 curl --tlsv1.2 https://example.com
3939 Example:
3941 curl --tlsv1.3 https://example.com
3949 Example:
3951 curl --tlsv1 https://example.com
3959 Example:
3961 curl --tr-encoding https://example.com
3977 Example:
3979 curl --trace-ascii log.txt https://example.com
3989 Example:
3991 curl --trace-time --trace-ascii output https://example.com
4004 Example:
4006 curl --trace log.txt https://example.com
4013 Example:
4015 curl --unix-socket socket-path https://example.com
4045 curl -T file https://example.com
4046 curl -T "img[1-1000].png" ftp://ftp.example.com/
4047 curl --upload-file "{file1,file2}" https://example.com
4065 Example:
4067 curl --url https://example.com
4074 Example:
4076 curl -B ftp://example.com/README
4089 Example:
4091 curl -A "Agent 007" https://example.com
4116 for example.
4119 Principal Name) formats. For example, EXAMPLE\\user and user@example.com
4129 Example:
4131 curl -u user:secret https://example.com
4151 Example:
4153 curl --verbose https://example.com
4233 Example:
4423 Example:
4425 curl -w '%{http_code}\\n' https://example.com
4434 Example:
4436 curl --xattr -o storage https://example.com
4467 .B NO_PROXY=direct.example.com curl \-x http://proxy.example.com
4468 .B http://direct.example.com
4470 .B NO_PROXY=direct.example.com curl \-x http://proxy.example.com
4471 .B http://somewhere.example.com