1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-06-05 13:05:59 +02:00

Update http-prompt.md

This commit is contained in:
Max Xu 2017-12-21 00:17:52 +08:00 committed by GitHub
parent 44bb2433c8
commit d35bc0d9e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,14 @@
> An interactive command-line HTTP client featuring autocomplete and syntax highlighting.
- Start with the last session or http://localhost:8000:
- Launch a session targeting the default url of http://localhost:8000 or the previous session:
`http-prompt`
- Start with the given URL:
- Launch a session with a given url:
`http-prompt {{http://httpbin.org}}`
`http-prompt {{http://example.org}}`
- Start with some initial options:
- Launch a session with some initial options:
`http-prompt {{localhost:8000/api}} --auth user:pass username={{somebody}}`
`http-prompt {{localhost:8000/api}} --auth user:pass username={{user}}`