curl and jq 8 · Authentication and headers
Set the User-Agent
Send a custom User-Agent header.
curl -A "my-script/1.0" https://example.com
Official curl and jq 8 documentation
More authentication and headers commands
All authentication and headers commands · curl and jq 8 cheatsheet