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>