1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
httpie-cli/README.md
Mickaël Schoentgen 6039bd8582
Switch from reStructuredText to Markdown and add docs/ (#1139)
* Convert most of the documentation from the frontend `README.rst` to `docs/REAME.md`

Also converted all reStructuredText files to Markdown.

* Tell `mdformat` to use LF for end on lines

* `--check` is not needed in the help message

* Skip tests on GitHub Windows.

Those tests pass on a real Windows machine.
Let's revisit those failure later, if needed.

* Move `mdoformat` requirement from `test` to `dev` extra

To fix Fedora CI.
2021-09-06 17:36:13 +02:00

5.0 KiB


Httpie-Logo-Lockup-Pink@2x

HTTPie: the human-friendly HTTP CLI client for working with APIs

Build Latest version Coverage Downloads

Issues Docs Chat

HTTPie (pronounced aitch-tee-tee-pie 🥧) is a command-line HTTP client.

The http and https commands let you send arbitrary HTTP requests for testing, debugging, and generally interacting with APIs & HTTP servers. Commands use simple, natural syntax and provide a formatted and colorized output.

Visit httpie.io to learn more

Features

  • Simple syntax
  • Formatted and colorized terminal output
  • Built-in JSON support
  • Forms and file uploads
  • HTTPS, proxies, and authentication
  • Persistent sessions
  • Wget-like downloads
  • Linux, macOS and Windows support
  • Plugins, such as JWTAuth and OAuth

See the complete list of features.

Documentation

Full documentation and installation guides live in httpie.io/docs.

Installation

HTTPie can be installed using Homebrew on macOS (brew install httpie), and pip on Linux, Windows and other Operating Systems (e.g. python -m pip install --upgrade httpie).

See the docs for system requirements and full installation instructions.

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/httpie/issues/83/comments body='HTTPie is awesome! :heart:'

See the documentation for a complete list of examples and use cases.

Contributing

We 💖 our contributors! Please read the contribution guide for how to contribute. Have a look through existing Issues and Pull Requests that you could help with.

Issues PRs

If you'd like to request a feature or report a bug, please create a GitHub Issue using one of the templates provided.

Community & Support

License

License

HTTPie is licensed under the BSD-3-Clause License.