HTTPIe, a command line HTTP client

Curl on steroids with an easy interface and syntax highlighted output.

By Stef van den Ham — December 08 2013

Stumbled upon HTTPie, a command line HTTP client. It’s pretty awesome. Basically it’s Curl on steroids, as it has an easy interface and syntax highlighted output.

Here’s an example of a simple GET request to the Bacon Ipsum JSON service:

HTTPie

Of course you can do actual useful stuff as well, such as POST-ing, Authentication, Cookies, Custom Headers, etc.

As the repo says, the main features are:

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

I haven’t played with it much yet, but so far it seems like a rather useful little tool, worth checking out.

You can get it here


Tags: http

Questions?

As always, if you have any questions or comments, you can find me on Twitter.

Be notified of new posts. Subscribe to the RSS Feed.