mirror of
https://github.com/httpie/cli.git
synced 2025-01-04 04:39:14 +01:00
Added docs for httpie
.
This commit is contained in:
parent
18510a9396
commit
2cdcadd9d5
19
README.rst
19
README.rst
@ -883,7 +883,7 @@ once it is created, specify the session name via
|
|||||||
Sessions are stored as JSON files in ``~/.httpie/sessions/<host>/<name>.json``
|
Sessions are stored as JSON files in ``~/.httpie/sessions/<host>/<name>.json``
|
||||||
(``%APPDATA%\httpie\sessions\<host>\<name>.json`` on Windows).
|
(``%APPDATA%\httpie\sessions\<host>\<name>.json`` on Windows).
|
||||||
|
|
||||||
See also `config`_.
|
See also `management tool`_ and `config`_.
|
||||||
|
|
||||||
|
|
||||||
======
|
======
|
||||||
@ -894,7 +894,7 @@ HTTPie uses a simple configuration file that contains a JSON object with the
|
|||||||
following keys:
|
following keys:
|
||||||
|
|
||||||
========================= =================================================
|
========================= =================================================
|
||||||
``__version__`` HTTPie automatically sets this to its version.
|
``__meta__`` HTTPie automatically stores some metadata here.
|
||||||
Do not change.
|
Do not change.
|
||||||
|
|
||||||
``implicit_content_type`` A ``String`` specifying the implicit content type
|
``implicit_content_type`` A ``String`` specifying the implicit content type
|
||||||
@ -922,6 +922,21 @@ The config directory location can be changed by setting the
|
|||||||
``HTTPIE_CONFIG_DIR`` environment variable.
|
``HTTPIE_CONFIG_DIR`` environment variable.
|
||||||
|
|
||||||
|
|
||||||
|
===============
|
||||||
|
Management Tool
|
||||||
|
===============
|
||||||
|
|
||||||
|
The main executable HTTPie comes with is ``http``, which is used for making
|
||||||
|
HTTP requests. The ``httpie`` command, on the other hand, is a utility for
|
||||||
|
managing your configuration. The currently supported actions are:
|
||||||
|
|
||||||
|
|
||||||
|
``httpie session list [hostname [session-name]]``
|
||||||
|
``httpie session edit hostname session-name``
|
||||||
|
``httpie session show hostname session-name``
|
||||||
|
``httpie session delete hostname [session-name]``
|
||||||
|
|
||||||
|
|
||||||
=========
|
=========
|
||||||
Scripting
|
Scripting
|
||||||
=========
|
=========
|
||||||
|
Loading…
Reference in New Issue
Block a user