http: use long arguments (#5878)

This commit is contained in:
Nicolas Kosinski
2021-05-04 09:25:21 +02:00
committed by GitHub
parent 1a6c1f8042
commit a312432c36
2 changed files with 6 additions and 6 deletions

View File

@@ -5,11 +5,11 @@
- Download a URL to a file:
`http -d {{example.org}}`
`http --download {{example.org}}`
- Send form-encoded data:
`http -f {{example.org}} {{name='bob'}} {{profile_picture@'bob.png'}}`
`http --form {{example.org}} {{name='bob'}} {{profile_picture@'bob.png'}}`
- Send JSON object:
@@ -25,7 +25,7 @@
- Pass a user name and password for server authentication:
`http -a {{username:password}} {{example.org}}`
`http --auth {{username:password}} {{example.org}}`
- Specify raw request body via stdin: