Hacker News new | ask | show | jobs
by userbinator 3074 days ago
That seems like a tool designed for a very specific use-case (JSON APIs), rather than the general-purpose protocol interaction of cURL. The fact that it appears to be doing some things "behind your back" to be "helpful" like reordering headers or otherwise manipulating the data would certainly be unwanted in a general-purpose tool.
1 comments

True. But for those of us who work with JSON APIs more-often-than-not it's very good. Being able to simply pipe in a file as a payload saves me a lot of time.

I know cURL does 1001 other things too, so the two tools aren't really in competition. HTTPie is more akin to Postman or Insomnia.

Use the "jq" command line tool to format json output. It's a life changer.

curl 'https://raw.githubusercontent.com/LearnWebCode/json-example/... | jq '.'