Formal suggestion: Ensure the token has the correct scope/permissions. A 401 might mean the token exists but can’t access `/data`.
Also, some APIs require `Content-Type: application/json` in headers. Worth adding:
```
curl -H "Authorization: Bearer MY_TOKEN" -H "Content-Type: application/json" https://api.example.com/data
```
Also, some APIs require `Content-Type: application/json` in headers. Worth adding:
```
curl -H "Authorization: Bearer MY_TOKEN" -H "Content-Type: application/json" https://api.example.com/data
```
