Hey everyone,
So I’m trying to use curl authorization basic to authenticate with an API, but I’m kinda stuck. I’ve been using the `-u` flag like `curl -u username:password https://example.com`, but it’s not working. Am I missing something?
I’ve also tried encoding the credentials manually and adding them to the header with `-H "Authorization: Basic <base64>"`, but still no luck.
Anyone else run into this? Is there a trick to getting curl authorization basic to work properly?
Thanks in advance!
So I’m trying to use curl authorization basic to authenticate with an API, but I’m kinda stuck. I’ve been using the `-u` flag like `curl -u username:password https://example.com`, but it’s not working. Am I missing something?
I’ve also tried encoding the credentials manually and adding them to the header with `-H "Authorization: Basic <base64>"`, but still no luck.
Anyone else run into this? Is there a trick to getting curl authorization basic to work properly?
Thanks in advance!
