httpie - Man Page
Examples (TL;DR)
- Send a GET request (default method with no request data):
http https://example.com
- Send a POST request (default method with request data):
http https://example.com hello=World
- Send a POST request with redirected input:
http https://example.com < file.json
- Send a PUT request with a given JSON body:
http PUT https://example.com/todos/7 hello=world
- Send a DELETE request with a given request header:
http DELETE https://example.com/todos/7 API-Key:foo
- Show the whole HTTP exchange (both request and response):
http -v https://example.com
- Download a file:
http --download https://example.com
- Follow redirects and show intermediary requests and responses:
http --follow --all https://example.com
Synopsis
httpie
Description
Managing interface for the HTTPie itself. <https://httpie.io/docs#manager>
Be aware that you might be looking for http/https commands for sending HTTP requests. This command is only available for managing the HTTTPie plugins and the configuration around it.
If you are looking for the man pages of http/https commands, try one of the following:
$ man http
$ man https
httpie cli export-args
Export available options for the CLI
- -f, --format
Format to export in.
httpie cli check-updates
Check for updates
httpie cli sessions upgrade
Upgrade the given HTTPie session with the latest layout. A list of changes between different session versions can be found in the official documentation.
- HOSTNAME
The host this session belongs.
- SESSION_NAME_OR_PATH
The name or the path for the session that will be upgraded.
- --bind-cookies
Bind domainless cookies to the host that session belongs.
httpie cli sessions upgrade-all
Upgrade all named sessions with the latest layout. A list of changes between different session versions can be found in the official documentation.
- --bind-cookies
Bind domainless cookies to the host that session belongs.
httpie cli plugins install
Install the given targets from PyPI or from a local paths.
- TARGET
targets to install
httpie cli plugins upgrade
Upgrade the given plugins
- TARGET
targets to upgrade
httpie cli plugins uninstall
Uninstall the given HTTPie plugins.
- TARGET
targets to install
httpie cli plugins list
List all installed HTTPie plugins.
httpie plugins install
Install the given targets from PyPI or from a local paths.
- TARGET
targets to install
httpie plugins upgrade
Upgrade the given plugins
- TARGET
targets to upgrade
httpie plugins uninstall
Uninstall the given HTTPie plugins.
- TARGET
targets to install
httpie plugins list
List all installed HTTPie plugins.