httpie: fix backslash syntax
This commit is contained in:
parent
c50dd87a58
commit
37805526bf
|
@ -10,14 +10,14 @@ updated: 2017-09-04
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ 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" \ # = string
|
name="John Doe" \ # = string
|
||||||
q=="search" \ # == URL parameters (?q=search)
|
q=="search" \ # == URL parameters (?q=search)
|
||||||
age:=29 \ # := for non-strings
|
age:=29 \ # := for non-strings
|
||||||
list:='[1,3,4]' # := json
|
list:='[1,3,4]' # := json
|
||||||
file@file.bin \ # @ attach file
|
file@file.bin \ # @ attach file
|
||||||
token=@token.txt \ # =@ read from file (text)
|
token=@token.txt \ # =@ read from file (text)
|
||||||
user:=@user.json \ # :=@ read from file (json)
|
user:=@user.json # :=@ read from file (json)
|
||||||
```
|
```
|
||||||
|
|
||||||
### Forms
|
### Forms
|
||||||
|
|
Loading…
Reference in New Issue