Update cheatsheets

This commit is contained in:
ivuorinen
2024-11-10 00:18:20 +00:00
parent e46a713c5e
commit 803cf27344
9 changed files with 37 additions and 12 deletions

View File

@@ -5,14 +5,14 @@ source: https://github.com/tldr-pages/tldr.git
---
# http
> HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs & HTTP servers.
> HTTPie: an HTTP client designed for testing, debugging, and generally interacting with APIs and HTTP servers.
> More information: <https://httpie.io/docs/cli/usage>.
- Make a simple GET request (shows response header and content):
- Make a simple GET request (shows response headers and content):
`http {{https://example.org}}`
`http {{https://example.com}}`
- Print specific output content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):
- Print specific parts of the content (`H`: request headers, `B`: request body, `h`: response headers, `b`: response body, `m`: response metadata):
`http --print {{H|B|h|b|m|Hh|Hhb|...}} {{https://example.com}}`