tldr/pages/linux/http-prompt.md

16 lines
406 B
Markdown
Raw Normal View History

# http-prompt
> An interactive command-line HTTP client featuring autocomplete and syntax highlighting.
2017-12-20 16:17:52 +00:00
- Launch a session targeting the default url of http://localhost:8000 or the previous session:
`http-prompt`
2017-12-20 16:17:52 +00:00
- Launch a session with a given url:
2017-12-20 17:18:12 +00:00
`http-prompt {{http://example.com}}`
2017-12-20 16:17:52 +00:00
- Launch a session with some initial options:
2017-12-27 14:52:48 +00:00
`http-prompt {{localhost:8000/api}} --auth {{username:password}}`