1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2026-08-16 14:04:47 +02:00

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

View File

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