forked from extern/httpie-cli
README
This commit is contained in:
parent
345f5a02a2
commit
e83e554ffb
@ -23,7 +23,7 @@ HTTPie is written in Python, and under the hood it uses the excellent
|
||||
|
||||
-----
|
||||
|
||||
|gitter| |pypi| |unix_build| |windows_build| |coverage|
|
||||
|pypi| |unix_build| |windows_build| |coverage| |gitter|
|
||||
|
||||
-----
|
||||
|
||||
@ -389,10 +389,9 @@ both of which can be overwritten:
|
||||
You can use ``--json, -j`` to explicitly set ``Accept``
|
||||
to ``application/json`` regardless of whether you are sending data
|
||||
(it's a shortcut for setting the header via the usual header notation –
|
||||
``http url Accept:application/json``).
|
||||
|
||||
Additionally, with the ``--json, -j`` option HTTPie tries to detect JSON
|
||||
responses event when the ``Content-Type`` is ``text/plain`` or unknown.
|
||||
``http url Accept:application/json``). Additionally,
|
||||
HTTPie will try to detect JSON responses even when the
|
||||
``Content-Type`` is incorrectly ``text/plain`` or unknown.
|
||||
|
||||
Simple example:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user