3 ms·
curl's interface is a PITA for testing JSON APIs. HTTPie's isn't: http POST http://localhost:3000/person/create name="James" The "for humans" bit signifies
by espeed 14y ago
curl's interface is a PITA for testing JSON APIs. HTTPie's isn't:
http POST http://localhost:3000/person/create name="James"
The "for humans" bit signifies the author has taken care to simplify the interface for practical use, rather than for shell scripting.
- jtheory 14y agoYup, I was excited to see that. I have a text file with examples of testing different kinds of API calls w/ curl, and I have to refer to it all the time because the syntax is so easy to get wrong if I just type it out. I've also had to waste lots of time supporting other developers using our API, who got tangled up in the curl syntax in the examples I provide them.