I recently found myself needing different headers in my requests when testing APIs and thought, hey let me share how easy adding a header is with everyone using good ol’ `curl` - hope this helps you too! Just add the '-H [header key]:[value]' option to your curl command. Here's an example: ```bash $ curl
https://myapiurl/data \ -H 'Authorization: Bearer mytoken1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' ```
Source:
https://davidwalsh.name/curl-add-header