curl¶
specify tls version wit curl¶
you need to specify the version and max version curl will use
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
use socks proxy¶
the example below uses the proxy the Tor Browser is exposing when open
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.