Amit Merchant

Amit Merchant

A blog on PHP, JavaScript, and more

HTTPie — An HTTP client with a pinch of AI magic

January 6, 2023 ·

HTTPie is an open-source command-line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more. It’s written in Python and is available on all major platforms.

But HTTPie can also be used on the web just by going to HTTPie Web which is powered by HTTPie CLI under the hood. You don’t need to install anything on your machine to use it. You can start making HTTP requests right away.

HTTPie Web

If you’re familiar with tools like Postman, you’ll find HTTPie right at home. It has a similar UI and the same features like sending HTTP requests, viewing the response, and so on.

The AI magic

Now, what makes HTTPie Web different from Postman is that it has a built-in AI-powered assistant that can help you with your HTTP requests.

The way it works is that you can type your request in plain English and HTTPie does its AI magic to suggest you the best possible endpoint and the request body that you can use to make the request.

If you’re satisfied with the suggestion, you can just click on the “Accept” button and then, you’ll be able to send the request.

For instance, I wanted to fetch my GitHub profile information using the GitHub API. So, I typed the following in the HTTPie Web: “fetch github profile of amitmerchant1990” and HTTPie suggested me the appropriate endpoint and the request body.

Here’s it in the action.


Pretty cool, right?

👋 Hi there! I'm Amit. I write articles about all things web development. If you like what I write and want me to continue doing the same, I would like you buy me some coffees. I'd highly appreciate that. Cheers!