Thanks to Ben Ramsey for sharing this nifty little tool called httpie. What it does is it makes calling APIs from the CLI easy as pie. With curl you’d see something like this:
[bash]
curl -i -X PUT -H ‘Content-Type:application/json; charset=utf-8’
-d ‘{"hello":"world"}’ http://httpbin.org/put
[/bash]
Where as with httpie, its a simple:
[bash]
http PUT httpbin.org/put hello=world
[/bash]
This is great for working with JSON based APIs. It also will pretty up the output:
Website: https://github.com/jkbr/httpie