HTTPie

Install

pip install httpie

Usage

http GET http://localhost:8000/contacts/api/villages/
http POST http://localhost:5000/api/todo/ message='Meet for coffee'

Headers

http --headers GET http://www.google.co.uk/
# I don't know how to send plain text!
http POST http://localhost:5000/messages "Content-type:text/plain"

POST

# json
http POST http://localhost:5000/messages name=Patrick

SSL

To skip the SSL certificate verification:

http --verify=no GET http://www.google.co.uk/