Cheatsheet Pages / curl Cheatsheet
How to send custom headers with curl — -H
The API wants an API key or a specific Accept header.
curl -H "X-API-Key: abc123" -H "Accept: application/json" \
https://api.example.com/data
Good to know
Repeat -H once per header.
