Skip to content

cli

Command-line HTTP client for testing and debugging APIs with readable output

Permissive (OSI) · BSD-3-Clause

Listed by , founder & editor

18

Health

Dormant

Overview

Stars

38,734

Last commit

2 years ago

Dec 2024

Repository age

14 years

since Feb 2012

Latest version

3.2.4

Nov 2024

Contributors

–

Releases

0

last 12 months

Language

Python

HTTPie CLI is a command-line HTTP client written in Python. It provides the http and https commands, which build and send arbitrary HTTP requests using a short, natural syntax. Responses are printed with formatting and color so they are easy to read in a terminal.

It has built-in JSON support, forms and file uploads, custom headers, HTTPS, proxies and authentication. Persistent sessions keep settings between calls, and wget-like downloads are included. An offline mode builds and prints a request without sending it.

The project is licensed under BSD-3-Clause and has been around since 2012. The latest release is 3.2.4, and the last commit was in December 2024, so development has slowed to a stop. It is a terminal tool, not a graphical app, and it does not need hosting.

It works as a lighter alternative to graphical API clients when you prefer scripting and the shell, and as a friendlier option than raw curl commands.

Who it's for

Backend developers testing REST endpoints

A request such as a PUT with a header and JSON field fits on one short line.

Skip if: You want saved collections and a graphical interface.

DevOps engineers debugging web services

Colorized output, proxies and authentication help when you inspect live servers.

Skip if: You need an actively maintained tool with frequent fixes.

Shell script authors

Offline mode and file download features work well in scripts.

Skip if: You already have curl scripts that do the job.

The problem it solves

Writing HTTP requests by hand with curl means long flags and hard-to-read output. You need a quick way to send a request, set headers and JSON data, and read the response in the terminal.

Strengths

  • Short syntax for methods, headers and JSON fields
  • Formatted and colorized terminal output
  • Offline mode prints a request without sending it
  • Supports forms, file uploads, proxies and authentication
  • BSD-3-Clause license with a history since 2012

Trade-offs

  • No commits since December 2024 and no releases in the last year
  • Terminal only, with no graphical request builder
  • Python tool, so installation depends on your Python setup

Self-host cli

Self-hostable
No (desktop or local app)

Quick start

https httpie.io/hello

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is open source under the BSD-3-Clause license.

Can I self-host it?

It is a local command-line tool, so there is nothing to host. You install it and run it on your machine.

What does it send?

Any HTTP request. You can set the method, headers, JSON data, forms, files and authentication.

Is it still maintained?

The last commit was in December 2024 and the latest version is 3.2.4.

Similar tools in API development and testing tools

Yaak

API development and testing tools

Offline-first desktop API client for developers who want Git-friendly request files

20k 866 6 days ago Active MIT

Replaces Postman

mockbin

API development and testing tools

2.1k 211 20 days ago Slowing Unknown

httpstat

API development and testing tools

Single-file Python wrapper that shows curl timing breakdowns in your terminal

6.2k 384 8 months ago Dormant MIT

Step CI

API development and testing tools

YAML-based command-line tool for testing REST, GraphQL, gRPC and SOAP APIs in CI

1.9k 100 2 years ago Dormant MPL-2.0

MQTT X

API development and testing tools

Desktop, CLI and web MQTT client for testing and debugging IoT messaging

5.1k 558 yesterday Slowing Apache-2.0

Requestly

API development and testing tools

Git-native API client for developers moving off Postman, with a closed-source app

6.8k 680 4 months ago Active AGPL-3.0