cli README

The project's README from github.com/httpie/cli. As one markdown file: README.md.

HTTPie
HTTPie CLI: human-friendly HTTP client for the API era

HTTPie for Desktop Twitter Chat

Docs Latest version Build Coverage PyPi downloads

HTTPie (pronounced aitch-tee-tee-pie) is a command-line HTTP client. Its goal is to make CLI interaction with web services as human-friendly as possible. HTTPie is designed for testing, debugging, and generally interacting with APIs & HTTP servers. The http & https commands allow for creating and sending arbitrary HTTP requests. They use simple and natural syntax and provide formatted and colorized output.

HTTPie in action

We lost 54k GitHub stars

Please note we recently accidentally made this repo private for a moment, and GitHub deleted our community that took a decade to build. Read the full story here: https://httpie.io/blog/stardust

Getting started

Features

See all features →

Examples

Hello World:

https httpie.io/hello

Custom HTTP method, HTTP headers and JSON data:

http PUT pie.dev/put X-API-Token:123 name=John

Build and print a request without sending it using offline mode:

http --offline pie.dev/post hello=offline

Use GitHub API to post a comment on an Issue with authentication:

http -a USERNAME POST https://api.github.com/repos/httpie/cli/issues/83/comments body='HTTPie is awesome! :heart:'

See more examples →

Community & support

Contributing

Have a look through existing Issues and Pull Requests that you could help with. If you'd like to request a feature or report a bug, please create a GitHub Issue using one of the templates provided.

See contribution guide →

cli (httpie/cli)

api-testing
Searching Database…

38.7K ·GitHub
What is this?HTTPie is a command-line HTTP client built to make interacting with APIs and web servers from the terminal as human-friendly as possible. It ships two commands, http and https, for sending arbitrary HTTP requests with simple syntax and colorized, formatted output.
How is this different from just using curl?HTTPie focuses on usability: it uses a simpler, more natural request syntax than curl and automatically formats and colorizes JSON and other output, plus adds built-in JSON support, sessions, and downloads out of the box.
How do I install and start using it?Install it with your platform's package manager (e.g. pip, Homebrew, apt) following the linked installation guide, then call the http or https commands directly from your terminal to send requests.
Does it run on Windows, macOS, and Linux?Yes, it is a Python-based CLI tool, so it runs cross-platform on any system with Python installed, including Windows, macOS, and Linux.
What's the story behind HTTPie losing 54k GitHub stars?The maintainers accidentally made the repo private for a moment, and GitHub permanently deleted the community of stargazers that had built up over roughly a decade.
Can HTTPie handle file uploads and downloads like wget?Yes, it supports forms and file uploads when sending requests, and offers wget-like downloads for saving HTTP responses to disk.
Does it support persistent sessions and authentication?Yes, HTTPie includes persistent sessions plus built-in support for HTTPS, proxies, and various authentication methods.
Can I extend HTTPie with plugins?Yes, the project supports plugins as one of its core features, alongside custom headers and arbitrary request data.
What are similar projects?posting, insomnia, hurl, wuzz, hoppscotch, captcha-api, httpx, bruno
Creator
httpie
Size
6.8 MB
Stars
38.7K
Age
14y
Commits · 90 Days