8 $ http POST http://example.com name="John" Host:example.com — JSON, cookies, files, auth, and other httpie examples.
14 [HTTPie](https://httpie.org/) is a command-line HTTP client.
16 - [HTTPie website](https://httpie.org/) _(httpie.org)_
17 - [HTTPie documentation](https://httpie.org/docs) _(httpie.org)_
18 - [Try it online](https://httpie.org/run) _(httpie.org)_
23 $ http POST http://example.com/posts/3 \
24 Origin:example.com \ # : HTTP headers
25 name="John Doe" \ # = string
26 q=="search" \ # == URL parameters (?q=search)
27 age:=29 \ # := for non-strings
28 list:='[1,3,4]' \ # := json
29 file@file.bin \ # @ attach file
30 token=@token.txt \ # =@ read from file (text)
31 user:=@user.json # :=@ read from file (json)
37 $ http --form POST example.com \
45 $ echo '{"hello": "world"}' | http POST example.com/post
53 -v, --verbose # same as --print=HhBb --all
54 -h, --headers # same as --print=h
55 -b, --body # same as --print=b
56 --all # print intermediate requests
57 --print=HhBb # H: request headers
61 --pretty=none # all | colors | format
62 --json | -j # Response is serialized as a JSON object.
77 --session NAME # store auth and cookies
78 --session-read-only NAME
84 -d, --download # like wget
92 -F, --follow # follow redirects
93 --max-redirects N # maximum for --follow
95 --verify no # skip SSL verification
96 --proxy http:http://foo.bar:3128
101 * <https://github.com/jakubroztocil/httpie>