Hey! For the curl authorization header, your Bearer token format is spot on. Just ensure the token is valid and matches what the API expects.
For Basic Auth, `-u` is the go-to, but if you wanna use headers, you’ll need to encode the credentials. Here’s a quick example:
```bash
curl -H "Authorization: Basic $(echo -n 'username:password' | base64)" https://api.example.com
```
If you’re still stuck, try using `-v` to debug the request. It’s a lifesaver!
For Basic Auth, `-u` is the go-to, but if you wanna use headers, you’ll need to encode the credentials. Here’s a quick example:
```bash
curl -H "Authorization: Basic $(echo -n 'username:password' | base64)" https://api.example.com
```
If you’re still stuck, try using `-v` to debug the request. It’s a lifesaver!
