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

April 14th, 2011 • 3 min read
I heard a lot about SASS, mostly a lot of people raving about how it was the best thing since chocolate.
February 24th, 2012 • 1 min read
How to use sessions within your unit tests using PHPUnit and CakePHP
May 22nd, 2011 • 4 min read
The following setup can work nicely when you develop your sites locally and don't want to change the configuration every time you upload it.