Slide 13
Slide 13 text
Lornajane's Curl Cheat Sheet
-X [verb] The verb to use for this request
-H "[Header:
value]"
A header to send. Repeat as needed
-d [value] Either the whole body data as a string, a filename, or a key/value pair
-s The "silent" switch, to hide curl's progress meter when piping the output to
something else
-c [filename] Where to store any incoming cookies for future use
-b [filename] Cookies to send with the request
-v to show headers for both request and response