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

October 14th, 2011 • 2 min read
In this post I will show you how to add GZip to your PHP application
April 19th, 2020 • 1 min read
It's good practice to force either www or non-www for your website. But how do you redirect your traffic properly using Express?
February 24th, 2012 • 1 min read
How to use sessions within your unit tests using PHPUnit and CakePHP