Tag Archives: http

httpie package

Tired of using curl to debug webapps?

curl -i -X PUT -H 'Content-Type:application/json; charset=utf-8' -d '{"hello":"world"}' http://httpbin.org/put

Looks quite complicated and for sure it is error prone.

http PUT httpbin.org/put hello=world

This looks much better, and I’ve just created package with this useful tool. It’s called httpie and is already in NEW queue. Besides simplifying syntax it has also color output which makes results more readable.

For the impatient I put this package also on my people.d.o page.