Originally published in adityasridhar.com
Every developer needs to know a bunch of tools to be effective. cURL in one such tool 😄
In this article...
For further actions, you may consider blocking this person and/or reporting abuse
Nice introduction to cURL!
Tiny nitpick: you can wrap your payload (i.e.
-d
) in single quotes to avoid having to escape inner double quotes.Example:
Thank you :)
Actually I tried single quotes initially. Works well in mac, but in windows it threw an error. So switched it back to double quotes :D
Huh, didn't know that.
Thanks for the info.
How about postman app?
IMO, always learn and understand a tool via the CLI first. Then pick a GUI of your choice.
"CLI, everything else is abstraction" - DJE
POSTMAN is great too. I use that a lot. But I feel knowing curl always helps :D