Last Updated: February 25, 2016
·
5.158K
· jkbr

HTTPie, an easy to use cURL replacement

HTTPie is a command line HTTP client whose goal is to make CLI interaction with web services as human-friendly as possible. It provides a simple http command that allows for sending arbitrary HTTP requests with a simple and natural syntax, and displays colorised responses. HTTPie can be used for testing, debugging, and generally interacting with HTTP servers.

http PUT example.org/people/1 X-API-Token:123 name=John

HTTPie vs. cURL

Main Features

  • Expressive and intuitive arguments syntax
  • Formatted and colorized terminal output
  • Built-in JSON support
  • Forms and file uploads
  • HTTPS, proxies, and authentication
  • Arbitrary request data
  • Custom headers
  • Python 2.6 and Python 3 support
  • Linux, Mac OS X and Windows support
  • Documentation
  • Test coverage

http://httpie.org/