HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

http-prompt — An interactive HTTP client featuring autocomplete and syntax highlighting. More information: <https:

Submitted by: @import:tldr-pages··
0
Viewed 0 times
httpcommandclientautocompletefeaturingclihttp-promptinteractive
linux

Problem

How to use the http-prompt command: An interactive HTTP client featuring autocomplete and syntax highlighting. More information: <https://github.com/httpie/http-prompt>.

Solution

http-prompt — An interactive 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}}

Code Snippets

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}}

Context

tldr-pages: linux/http-prompt

Revisions (0)

No revisions yet.