httpie is yummy

Hernán Tylim
Django Musings
Published in
1 min readApr 17, 2016

If you are developing REST APIs you need a client to test them.

If you are on Linux you use curl.

If you are on Windows, you can look for a Chrome or Firefox plugin (I used poster a while ago) but I recommend you to use httpie

httpie is exactly like curl.

To install it do:

pip install httpie

This will add an http binary and now to use it you just do it like this:

http -a john:psw123 POST http://127.0.0.1/books/ title=something
http GET htp://127.0.0.1:800/books/1/

and so on…

--

--