mirror of
https://github.com/httpie/cli.git
synced 2025-01-11 16:18:44 +01:00
Mention necessary quoting with :=
. #77
This commit is contained in:
parent
851412c698
commit
f26f2f1438
@ -76,7 +76,7 @@ Raw JSON fields (``field:=value``)
|
|||||||
This item type is needed when ``Content-Type`` is JSON and a field's value
|
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
|
is a ``Boolean``, ``Number``, nested ``Object`` or an ``Array``, because
|
||||||
simple data items are always serialized as ``String``.
|
simple data items are always serialized as ``String``.
|
||||||
E.g. ``pies:=[1,2,3]``.
|
E.g. ``pies:=[1,2,3]``,or ``'meals=["ham", "spam"]'`` (mind the quotes).
|
||||||
|
|
||||||
File fields (``field@/path/to/file``)
|
File fields (``field@/path/to/file``)
|
||||||
Only available with ``-f`` / ``--form``. Use ``@`` as the separator, e.g.,
|
Only available with ``-f`` / ``--form``. Use ``@`` as the separator, e.g.,
|
||||||
|
Loading…
Reference in New Issue
Block a user