8 $ http POST http://example.com name="John" Host:example.com — JSON, cookies, files, auth, and other httpie examples.
10 [HTTPie](https://httpie.org/) is a command-line HTTP client.
16 $ http POST http://example.com/posts/3 \
17 Origin:example.com \ # : HTTP headers
18 name="John Doe" \ # = string
19 q=="search" \ # == URL parameters (?q=search)
20 age:=29 \ # := for non-strings
21 list:='[1,3,4]' \ # := json
22 file@file.bin \ # @ attach file
23 token=@token.txt \ # =@ read from file (text)
24 user:=@user.json # :=@ read from file (json)
30 $ http --form POST example.com \
41 -v, --verbose # same as --print=HhBb --all
42 -h, --headers # same as --print=h
43 -b, --body # same as --print=b
44 --all # print intermediate requests
45 --print=HhBb # H: request headers
49 --pretty=none # all | colors | format
50 --json | -j # Response is serialized as a JSON object.
65 --session NAME # store auth and cookies
66 --session-read-only NAME
72 -d, --download # like wget
80 -F, --follow # follow redirects
81 --max-redirects N # maximum for --follow
83 --verify no # skip SSL verification
84 --proxy http:http://foo.bar:3128
89 * <https://github.com/jakubroztocil/httpie>