curl and jq 8 · Authentication and headers
Save and send cookies
Store cookies in a file and send them on later requests.
curl -c cookies.txt -b cookies.txt https://example.com/login
Official curl and jq 8 documentation
More authentication and headers commands
All authentication and headers commands · curl and jq 8 cheatsheet