Kramdown.
This commit is contained in:
parent
a1950d30ab
commit
1b5eac2ced
|
@ -0,0 +1 @@
|
||||||
|
markdown: kramdown
|
36
httpie.md
36
httpie.md
|
@ -4,10 +4,12 @@ layout: default
|
||||||
---
|
---
|
||||||
|
|
||||||
$ http POST example.com/posts/3 \
|
$ http POST example.com/posts/3 \
|
||||||
Origin:example.com # HTTP headers
|
Origin:example.com # : HTTP headers
|
||||||
name="John Doe" \ # JSON data
|
name="John Doe" \ # = JSON data
|
||||||
age:=29 \ # use := for non-strings
|
q=="search" \ # == URL parameters
|
||||||
token:=@token.txt \ # read from file (json or text)
|
age:=29 \ # := for non-strings
|
||||||
|
token=@token.txt \ # =@ read from file (text)
|
||||||
|
user:=@user.json \ # :=@ read from file (json)
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
||||||
|
@ -15,6 +17,32 @@ layout: default
|
||||||
name="John Smith" \
|
name="John Smith" \
|
||||||
cv=@document.txt
|
cv=@document.txt
|
||||||
|
|
||||||
|
### Options
|
||||||
|
|
||||||
|
--pretty=none # all,colors,format
|
||||||
|
|
||||||
|
--print=HBhb
|
||||||
|
# H : request headers
|
||||||
|
# B : request body
|
||||||
|
# h : response headers
|
||||||
|
# b : response body
|
||||||
|
|
||||||
|
--output FILE (or -o)
|
||||||
|
|
||||||
|
--follow
|
||||||
|
--timeout SECONDS
|
||||||
|
--verify no # skip SSL verification
|
||||||
|
|
||||||
|
--download
|
||||||
|
--continue
|
||||||
|
|
||||||
|
--session NAME
|
||||||
|
--auth USER:PASS (or -a)
|
||||||
|
--auth-type {basic,digest}
|
||||||
|
|
||||||
|
--proxy http:http://foo.bar:3128
|
||||||
|
|
||||||
|
|
||||||
### References
|
### References
|
||||||
|
|
||||||
* https://github.com/jakubroztocil/httpie
|
* https://github.com/jakubroztocil/httpie
|
||||||
|
|
Loading…
Reference in New Issue