HTTPIe, a command line HTTP client

Posted December 8th, 2013 • 1 min read

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:

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

Stay up to date

Want to know when a new post comes out and stay in the loop on tips, tricks and gotchas? Consider signing up for the Mindthecode newsletter.

Comments

Keep reading

December 6th, 2011 • 2 min read
Loading external assets with curl is not only easy, it's also a lot faster than file_get_contents
May 9th, 2012 • 4 min read
How to format an associative array in JSON with Knockout
April 11th, 2011 • 2 min read
I'd like to use my first post to describe how I set up new projects in a simple way that works best for me.