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