OpenAltFinder
HTTPie

HTTPie

πŸš€ HTTPie Desktop β€” cross-platform API testing client for humans. Painlessly test REST, GraphQL, and HTTP APIs.

Open source alternative to:

HTTPie Overview

HTTPie is a command-line HTTP client designed to make API testing and HTTP requests simple and intuitive. It's built with Python and offers a user-friendly alternative to tools like curl.

Key Features

Intuitive Syntax - HTTPie uses a natural, readable syntax that mirrors how you think about HTTP requests. Instead of complex flags and options, you can construct requests using simple key-value pairs.

JSON Support - Built-in JSON support makes it incredibly easy to send JSON data. HTTPie automatically detects and formats JSON responses for better readability.

Output Formatting - Responses are automatically formatted and syntax-highlighted, making them much easier to read than raw HTTP output.

Session Support - HTTPie can persist cookies, authentication, and custom headers across multiple requests using sessions.

Basic Usage Examples

The general syntax follows the pattern: http [METHOD] URL [ITEM [ITEM]]

# Simple GET request
http GET httpbin.org/get

# POST with JSON data
http POST httpbin.org/post name=John age:=25

# Custom headers
http GET httpbin.org/headers Authorization:"Bearer token123"

# File upload
http POST httpbin.org/post < data.json

Installation

HTTPie can be installed via pip, package managers, or downloaded as a standalone binary:

# Via pip
pip install httpie

# Via Homebrew (macOS)
brew install httpie

# Via apt (Ubuntu/Debian)
sudo apt install httpie

Authentication

HTTPie supports various authentication methods out of the box:

# Basic auth
http -a username:password GET httpbin.org/basic-auth/username/password

# Bearer token
http GET httpbin.org/bearer Authorization:"Bearer your-token"

# Digest auth
http --auth-type=digest -a username:password GET httpbin.org/digest-auth/auth/username/password

Why Choose HTTPie

HTTPie excels in scenarios where you need to quickly test APIs, debug HTTP interactions, or script simple HTTP operations. Its human-friendly syntax makes it particularly valuable for developers who want to focus on the request logic rather than memorizing complex command-line options. The tool strikes an excellent balance between simplicity and functionality, making it accessible for beginners while remaining powerful enough for advanced use cases.

Looking for contributors

This project is actively seeking help, join the community!

Visit HTTPie
License
BSD-3-Clause license
Self hostable
Yes
Repository details
Version
3.2.4
Created
2/25/2012
Stars
38,133
Forks
3,953
Open issues
283
Last commit
12/17/2024

Updated 5/14/2026, 10:00:54 AM

View Repository

Similar open source alternatives