2 ms·
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.
by petepete 9y ago
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.
- user5994461 9y agoUse the "jq" command line tool to format json output. It's a life changer. curl 'https://raw.githubusercontent.com/LearnWebCode/json-example/master/pets-data.json' https://raw.githubusercontent.com/LearnWebCode/json-example/... | jq '.'