curl¶
force GET request and get headers¶
If you just want the headers and use -I
, curl will do a HEAD
request, so you can force to do a GET
request:
--next¶
run requests after another with a single curl command:
curl https://httpbin.org/get --next -X POST --data "abc=xyz" https://httpbin.org/post --next https://httpbin.org/headers
uploading files¶
form upload¶
form upload will include things like a filename and the content-type.
just upload the file¶
just the body of the file will be uploaded here.