httpie: move to common; https: add alias page (#13492)

* httpie: delete osx page, move linux page to common

Someone copied the linux page to osx instead of putting it in common.

* https: add alias page
This commit is contained in:
Lena
2024-08-22 00:08:44 +02:00
committed by GitHub
parent 9b773a1e09
commit 574be9e065
9 changed files with 21 additions and 108 deletions

36
pages.de/common/httpie.md Normal file
View File

@@ -0,0 +1,36 @@
# httpie
> Ein benutzerfreundliches HTTP-Tool.
> Weitere Informationen: <https://github.com/httpie/httpie>.
- Sende eine GET-Anfrage (Standardmethode ohne Anfragedaten):
`http {{https://example.com}}`
- Sende eine POST-Anfrage (Standardmethode mit Anfragedaten):
`http {{https://example.com}} {{hello=World}}`
- Sende eine POST-Anfrage mit einer Datei als Eingabe:
`http {{https://example.com}} < {{file.json}}`
- Sende eine PUT-Anfrage mit einem bestimmten JSON-Body:
`http PUT {{https://example.com/todos/7}} {{hello=world}}`
- Sende eine DELETE-Anfrage mit einem bestimmten Anfrage-Header:
`http DELETE {{https://example.com/todos/7}} {{API-Key:foo}}`
- Zeige den gesamten HTTP-Austausch (sowohl Anfrage als auch Antwort):
`http -v {{https://example.com}}`
- Lade eine Datei herunter:
`http --download {{https://example.com}}`
- Folge Umleitungen und zeige Zwischenanfragen und -antworten:
`http --follow --all {{https://example.com}}`