forked from extern/httpie-cli
Document restriction on top-level JSON types explicitly (#1496)
* Document restriction on top-level JSON types explicitly * Update docs/README.md --------- Co-authored-by: Jakub Roztocil <jakub@roztocil.co>
This commit is contained in:
parent
c8c135ffff
commit
ec4fb84254
@ -915,6 +915,8 @@ http --offline --print=B pie.dev/post \
|
|||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Sending scalar JSON types (a single `null`, `true`, `false`, string or number) as the top-level object is impossible using the key/value syntax. But you can still pass it via [`--raw='<value>'`](#raw-request-body).
|
||||||
|
|
||||||
##### Escaping behavior
|
##### Escaping behavior
|
||||||
|
|
||||||
Nested JSON syntax uses the same [escaping rules](#escaping-rules) as
|
Nested JSON syntax uses the same [escaping rules](#escaping-rules) as
|
||||||
|
Loading…
Reference in New Issue
Block a user