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

    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.

    Docs Latest version Build Coverage Twitter Chat

    HTTPie in action

    Getting started


    • Expressive and intuitive syntax
    • Formatted and colorized terminal output
    • Built-in JSON support
    • Forms and file uploads
    • HTTPS, proxies, and authentication
    • Arbitrary request data
    • Custom headers
    • Persistent sessions
    • wget-like downloads

    See all features →


    Hello World:

    $ https

    Custom HTTP method, HTTP headers and JSON data:

    $ http PUT X-API-Token:123 name=John

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

    $ http --offline hello=offline

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

    $ http -a USERNAME POST body='HTTPie is awesome! :heart:'

    See more examples →

    Community & support


    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 →


    As easy as /aitch-tee-tee-pie/ 🥧 Modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.

    🚀 Github 镜像仓库 🚀


    发行版本 38

    HTTPie 2.6.0


    贡献者 142



    • Python 97.5 %
    • Shell 1.3 %
    • Makefile 1.2 %