mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-30 18:41:39 +00:00
22 lines
561 B
Plaintext
22 lines
561 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# http-prompt
|
|
|
|
> An interactive command-line HTTP client featuring autocomplete and syntax highlighting.
|
|
> More information: <https://github.com/httpie/http-prompt>.
|
|
|
|
- Launch a session targeting the default URL of <http://localhost:8000> or the previous session:
|
|
|
|
`http-prompt`
|
|
|
|
- Launch a session with a given URL:
|
|
|
|
`http-prompt {{http://example.com}}`
|
|
|
|
- Launch a session with some initial options:
|
|
|
|
`http-prompt {{localhost:8000/api}} --auth {{username:password}}`
|