"What's the deal with curl get? Can't fetch my URL properly!"
Hey folks,
Trying to use curl get to grab some data from a URL, but it’s just not cooperating. I’m like 90% sure I’m doing it right, but maybe I’m missing something?
Basic syntax is just `curl [URL]`, right? Or do I need flags like `-X GET`? Some examples would be *chef’s kiss*.
Also, why does curl get sometimes return weird errors or just... nothing? Is it me or the server?
And yeah, is curl get even the best way for APIs? Or am I stuck in 2010?
Thx in advance! 🙏
(PS: If I’m being dumb, pls be gentle lol)
Hey folks,
Trying to use curl get to grab some data from a URL, but it’s just not cooperating. I’m like 90% sure I’m doing it right, but maybe I’m missing something?
Basic syntax is just `curl [URL]`, right? Or do I need flags like `-X GET`? Some examples would be *chef’s kiss*.
Also, why does curl get sometimes return weird errors or just... nothing? Is it me or the server?
And yeah, is curl get even the best way for APIs? Or am I stuck in 2010?
Thx in advance! 🙏
(PS: If I’m being dumb, pls be gentle lol)
