httpie: Add raw JSON example (#1477)

Co-authored-by: Rico Sta. Cruz <rstacruz@users.noreply.github.com>
This commit is contained in:
Michael Kreusel 2020-07-05 12:58:21 +02:00 committed by GitHub
parent d20fddb40a
commit 21306a7bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -32,6 +32,12 @@ $ http --form POST example.com \
cv=@document.txt cv=@document.txt
``` ```
### Raw JSON
```bash
$ echo '{"hello": "world"}' | http POST example.com/post
```
### Options ### Options
Print options: Print options: