From 574be9e065a96838830470f2ebbcd732c4703485 Mon Sep 17 00:00:00 2001 From: Lena <126529524+acuteenvy@users.noreply.github.com> Date: Thu, 22 Aug 2024 00:08:44 +0200 Subject: [PATCH] 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 --- pages.de/{linux => common}/httpie.md | 0 pages.de/common/https.md | 7 ++++++ pages.de/osx/httpie.md | 36 ---------------------------- pages.nl/{linux => common}/httpie.md | 0 pages.nl/common/https.md | 7 ++++++ pages.nl/osx/httpie.md | 36 ---------------------------- pages/{linux => common}/httpie.md | 0 pages/common/https.md | 7 ++++++ pages/osx/httpie.md | 36 ---------------------------- 9 files changed, 21 insertions(+), 108 deletions(-) rename pages.de/{linux => common}/httpie.md (100%) create mode 100644 pages.de/common/https.md delete mode 100644 pages.de/osx/httpie.md rename pages.nl/{linux => common}/httpie.md (100%) create mode 100644 pages.nl/common/https.md delete mode 100644 pages.nl/osx/httpie.md rename pages/{linux => common}/httpie.md (100%) create mode 100644 pages/common/https.md delete mode 100644 pages/osx/httpie.md diff --git a/pages.de/linux/httpie.md b/pages.de/common/httpie.md similarity index 100% rename from pages.de/linux/httpie.md rename to pages.de/common/httpie.md diff --git a/pages.de/common/https.md b/pages.de/common/https.md new file mode 100644 index 000000000..22dfe7b6b --- /dev/null +++ b/pages.de/common/https.md @@ -0,0 +1,7 @@ +# https + +> Dieser Befehl ist ein Alias von `http`. + +- Zeige die Dokumentation für den originalen Befehl an: + +`tldr http` diff --git a/pages.de/osx/httpie.md b/pages.de/osx/httpie.md deleted file mode 100644 index 72440abd3..000000000 --- a/pages.de/osx/httpie.md +++ /dev/null @@ -1,36 +0,0 @@ -# httpie - -> Ein benutzerfreundliches HTTP-Tool. -> Weitere Informationen: . - -- 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}}` diff --git a/pages.nl/linux/httpie.md b/pages.nl/common/httpie.md similarity index 100% rename from pages.nl/linux/httpie.md rename to pages.nl/common/httpie.md diff --git a/pages.nl/common/https.md b/pages.nl/common/https.md new file mode 100644 index 000000000..bce6c23da --- /dev/null +++ b/pages.nl/common/https.md @@ -0,0 +1,7 @@ +# https + +> Dit commando is een alias van `http`. + +- Bekijk de documentatie van het originele commando: + +`tldr http` diff --git a/pages.nl/osx/httpie.md b/pages.nl/osx/httpie.md deleted file mode 100644 index f85fc9719..000000000 --- a/pages.nl/osx/httpie.md +++ /dev/null @@ -1,36 +0,0 @@ -# httpie - -> Een gebruiksvriendelijke HTTP-tool. -> Meer informatie: . - -- Verstuur een GET-verzoek (standaardmethode zonder verzoekgegevens): - -`http {{https://example.com}}` - -- Verstuur een POST-verzoek (standaardmethode met verzoekgegevens): - -`http {{https://example.com}} {{hello=World}}` - -- Verstuur een POST-verzoek met omgeleide invoer: - -`http {{https://example.com}} < {{bestand.json}}` - -- Verstuur een PUT-verzoek met een opgegeven JSON-body: - -`http PUT {{https://example.com/todos/7}} {{hello=world}}` - -- Verstuur een DELETE-verzoek met een opgegeven verzoekheader: - -`http DELETE {{https://example.com/todos/7}} {{API-Key:foo}}` - -- Toon de hele HTTP-uitwisseling (zowel verzoek als antwoord): - -`http -v {{https://example.com}}` - -- Download een bestand: - -`http --download {{https://example.com}}` - -- Volg redirects en toon tussenliggende verzoeken en antwoorden: - -`http --follow --all {{https://example.com}}` diff --git a/pages/linux/httpie.md b/pages/common/httpie.md similarity index 100% rename from pages/linux/httpie.md rename to pages/common/httpie.md diff --git a/pages/common/https.md b/pages/common/https.md new file mode 100644 index 000000000..e195d51bb --- /dev/null +++ b/pages/common/https.md @@ -0,0 +1,7 @@ +# https + +> This command is an alias of `http`. + +- View documentation for the original command: + +`tldr http` diff --git a/pages/osx/httpie.md b/pages/osx/httpie.md deleted file mode 100644 index 4c8ecaf97..000000000 --- a/pages/osx/httpie.md +++ /dev/null @@ -1,36 +0,0 @@ -# httpie - -> A user friendly HTTP tool. -> More information: . - -- Send a GET request (default method with no request data): - -`http {{https://example.com}}` - -- Send a POST request (default method with request data): - -`http {{https://example.com}} {{hello=World}}` - -- Send a POST request with redirected input: - -`http {{https://example.com}} < {{file.json}}` - -- Send a PUT request with a given JSON body: - -`http PUT {{https://example.com/todos/7}} {{hello=world}}` - -- Send a DELETE request with a given request header: - -`http DELETE {{https://example.com/todos/7}} {{API-Key:foo}}` - -- Show the whole HTTP exchange (both request and response): - -`http -v {{https://example.com}}` - -- Download a file: - -`http --download {{https://example.com}}` - -- Follow redirects and show intermediary requests and responses: - -`http --follow --all {{https://example.com}}`