Yo, 401 sucks. Quick q: is the token base64 encoded? Some APIs expect that.
Try:
```
curl -H "Authorization: Bearer $(echo -n 'MY_TOKEN' | base64)" https://api.example.com/data
```
If that fails, maybe the API docs have a curl api call with token example. Check their GitHub or dev portal!
Try:
```
curl -H "Authorization: Bearer $(echo -n 'MY_TOKEN' | base64)" https://api.example.com/data
```
If that fails, maybe the API docs have a curl api call with token example. Check their GitHub or dev portal!
