User Tools

Site Tools


curl:cheat_sheet

This is an old revision of the document!


Curl - Cheat Sheet

Add Headers-H “name:value”
Basic Auth-u user:password
Custom Address–resolve
<host:port:addr>
Custom Method-X “METHOD”
Extra Info-w “format”
Follow Redirects-L
Generate Code–libcurl <file>
Headers-I
-i
Hide Progress-s
Insecure HTTPS-k
List Options–help
Multipart Form Post-F name=value
-F name=@file
Output-O
-o <file>
Parallel-z
Post-d “string”
-d @file
Post Encoded–data-urlencode
“[name]=val”
Proxy-x <host:port>
Put-T <file>
Read Cookies-b <file>
Remove Headers-H “name:“
Send Cookies-b “c=1;d=2”
Smaller Data–compressed
Timeout-m <seconds>
User Agent-A “string”
Verbose-v
–trace-ascii <file>
Write Cookies-c <file>
curl/cheat_sheet.1601041116.txt.gz · Last modified: 2020/09/25 13:38 by 192.168.1.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki