mirror of
https://github.com/httpie/cli.git
synced 2024-11-24 08:22:22 +02:00
Update README.rst
This commit is contained in:
parent
8cff0a3e67
commit
ccb2aaf94f
@ -49,7 +49,7 @@ Simple data items
|
||||
Data items are included in the request body. Depending on the ``Content-Type``, they are automatically serialized as a JSON ``Object`` (default) or ``application/x-www-form-urlencoded`` (the ``-f`` flag). Data items use ``=`` as the separator, e.g., ``hello=world``.
|
||||
|
||||
Raw JSON items
|
||||
This item type is needed when ``Content-Type`` is JSON and a field's value is a ``Boolean``, ``Number``, nested ``Object`` or an ``Array``, because simple data items are always serialized as ``String``. E.g. ``pies=[1,2,3]``.
|
||||
This item type is needed when ``Content-Type`` is JSON and a field's value is a ``Boolean``, ``Number``, nested ``Object`` or an ``Array``, because simple data items are always serialized as ``String``. E.g. ``pies:=[1,2,3]``.
|
||||
|
||||
Examples
|
||||
^^^^^^^^
|
||||
|
Loading…
Reference in New Issue
Block a user