Monthly Archives: March 2012

httpie package

Tired of using curl to debug webapps?

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

Looks quite complicated and for sure it is error prone.

http 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.