Hey folks,
So, I’ve been messing around with APIs lately, and I keep seeing this "curl basic auth" thing everywhere. Like, how do you even use it properly? I tried slapping my username and password into the command, but it’s not working half the time.
Is it just me or does curl basic auth feel a bit finicky? Like, do I need to encode the credentials or something? Or am I just missing a flag?
Also, is it safe to just throw my creds in plain text like that? Feels sketchy, but everyone seems to do it.
Any tips or tricks? Or am I just overcomplicating this?
Thanks in advance!
- ConfusedCoder
So, I’ve been messing around with APIs lately, and I keep seeing this "curl basic auth" thing everywhere. Like, how do you even use it properly? I tried slapping my username and password into the command, but it’s not working half the time.
Is it just me or does curl basic auth feel a bit finicky? Like, do I need to encode the credentials or something? Or am I just missing a flag?
Also, is it safe to just throw my creds in plain text like that? Feels sketchy, but everyone seems to do it.
Any tips or tricks? Or am I just overcomplicating this?
Thanks in advance!
- ConfusedCoder
