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 @@
- Pobierz adres URL do pliku:
`http -d {{przyklad.org}}`
`http --download {{przyklad.org}}`
- Wyślij dane zakodowane w formularzu:
`http -f {{przyklad.org}} {{nazwa='bob'}} {{zdjecie_profilowe@'bob.png'}}`
`http --form {{przyklad.org}} {{nazwa='bob'}} {{zdjecie_profilowe@'bob.png'}}`
- Wyślij obiekt JSON:
@@ -25,7 +25,7 @@
- Podaj nazwę użytkownika i hasło do uwierzytelnienia serwera:
`http -a {{nazwauzytkownika:haslo}} {{przyklad.org}}`
`http --auth {{nazwauzytkownika:haslo}} {{przyklad.org}}`
- Określ surowe ciało żądania za pośrednictwem stdin:

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: