Hmm, curl basic auth should work with `-u`, but 401 usually means the credentials are wrong or not accepted.
Try this:
1. Verify your username/password by logging into the API’s web interface (if it has one).
2. Use `-v` in your curl command to see the full request/response. It’ll show you exactly what’s being sent and why it’s failing.
```
curl -v -u username:password https://example.com
```
If the password has special chars, escaping might help, but it’s rare. Let us know what the verbose output says!
Try this:
1. Verify your username/password by logging into the API’s web interface (if it has one).
2. Use `-v` in your curl command to see the full request/response. It’ll show you exactly what’s being sent and why it’s failing.
```
curl -v -u username:password https://example.com
```
If the password has special chars, escaping might help, but it’s rare. Let us know what the verbose output says!
