LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

http-prompt

Interactive command-line HTTP client with autocomplete and syntax highlighting

TLDR

Launch a session targeting localhost
$ http-prompt
copy
Launch a session with a specific URL
$ http-prompt [http://example.com]
copy
Launch a session with authentication
$ http-prompt [localhost:8000/api] --auth [username:password]
copy

SYNOPSIS

http-prompt [URL] [options]

DESCRIPTION

http-prompt is an interactive command-line HTTP client featuring autocomplete and syntax highlighting. It provides a REPL (Read-Eval-Print Loop) environment for exploring and testing HTTP APIs.Built on top of HTTPie, it offers an interactive way to build HTTP requests with features like tab completion for HTTP methods, headers, and previously used values. Sessions persist settings and can be resumed.Within the prompt, you can set headers, query parameters, and body data incrementally, then execute requests with standard HTTP methods (GET, POST, PUT, DELETE, etc.).

PARAMETERS

--auth USER:PASS

Set HTTP basic authentication credentials
--version
Display version information

INSTALL

brew install http-prompt
copy

CAVEATS

Requires Python and HTTPie. Sessions are stored locally and persist between invocations. Not suitable for automated scripting; use HTTPie or curl for that purpose.

HISTORY

http-prompt was created by Chang-Hung Liang and released in 2016. It was inspired by the interactive nature of database clients and aims to provide similar convenience for HTTP API exploration.

SEE ALSO

http(1), curl(1), httpie(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid