2017-12-20 04:16:57 +00:00
|
|
|
# http-prompt
|
|
|
|
|
|
|
|
> An interactive command-line HTTP client featuring autocomplete and syntax highlighting.
|
2021-09-02 19:33:49 +01:00
|
|
|
> More information: <https://github.com/httpie/http-prompt>.
|
2017-12-20 04:16:57 +00:00
|
|
|
|
2023-09-10 14:21:33 +01:00
|
|
|
- Launch a session targeting the default URL of <http://localhost:8000> or the previous session:
|
2017-12-20 04:16:57 +00:00
|
|
|
|
|
|
|
`http-prompt`
|
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Launch a session with a given URL:
|
2017-12-20 04:16:57 +00:00
|
|
|
|
2017-12-20 17:18:12 +00:00
|
|
|
`http-prompt {{http://example.com}}`
|
2017-12-20 04:16:57 +00:00
|
|
|
|
2017-12-20 16:17:52 +00:00
|
|
|
- Launch a session with some initial options:
|
2017-12-20 04:16:57 +00:00
|
|
|
|
2017-12-27 14:52:48 +00:00
|
|
|
`http-prompt {{localhost:8000/api}} --auth {{username:password}}`
|