curl and jq 8 · Authentication and headers

Set a header

Send any request header you need.

curl -H "Accept: application/json" https://api.example.com/users

Official curl and jq 8 documentation

More authentication and headers commands

All authentication and headers commands · curl and jq 8 cheatsheet

Was this page helpful?