# httpie/http-prompt

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/httpie-http-prompt).**

9,097 stars · 342 forks · Python · MIT

## Links

- GitHub: https://github.com/httpie/http-prompt
- Homepage: https://http-prompt.com
- awesome-repositories: https://awesome-repositories.com/repository/httpie-http-prompt.md

## Topics

`api` `api-cli` `api-testing` `autocomplete` `cli` `developer-tools` `development` `http` `http-client` `httpie` `json` `python` `rest-api` `shell` `syntax-highlighting` `terminal` `web-development`

## Description

HTTP Prompt is an interactive command-line HTTP client built on top of HTTPie, providing a read-eval-print loop (REPL) shell for exploring and testing APIs. It wraps HTTPie's request-building and response-parsing capabilities into a persistent session that tracks current URL, headers, and other context, enabling rapid iteration on API calls without leaving the terminal.

The tool distinguishes itself through its interactive shell environment, which includes context-aware tab completion for HTTP methods, URLs, headers, and body parameters, along with terminal-based syntax highlighting for both requests and responses. Command history persistence allows users to navigate through previous inputs within the session, while the prompt-based state management simplifies repeated API interactions by maintaining session context.

The project covers the full workflow of interactive API exploration, from launching an interactive HTTP client to exploring APIs with real-time autocomplete and syntax highlighting. It is designed for developer tooling integration, combining HTTPie's power with an interactive shell for streamlined API debugging and development.

## Tags

### Development Tools & Productivity

- [Interactive HTTP Clients](https://awesome-repositories.com/f/development-tools-productivity/command-line-http-clients/interactive-http-clients.md) — Start a command-line session with autocomplete and syntax highlighting for testing and exploring APIs interactively. ([source](https://docs.http-prompt.com/))
- [HTTP REPL Shells](https://awesome-repositories.com/f/development-tools-productivity/interactive-repls/http-repl-shells.md) — An interactive command-line interface that reads user input, executes HTTP requests, and displays responses in a continuous loop.
- [API Testing CLIs](https://awesome-repositories.com/f/development-tools-productivity/terminal-shell-cli/cli-tooling-frameworks/cli-tooling/agent-integration-interfaces/api-testing-clis.md) — An interactive command-line tool for API testing that combines HTTPie's request capabilities with autocomplete and syntax highlighting.
- [API Development Tools](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools.md) — Combining HTTPie's power with an interactive shell for streamlined API debugging and development.
- [Realtime API Testing](https://awesome-repositories.com/f/development-tools-productivity/api-development-tools/api-testing-tools/realtime-api-testing.md) — Rapidly iterating on API calls with real-time feedback and request history in a shell environment.
- [Interactive API Explorers](https://awesome-repositories.com/f/development-tools-productivity/interactive-api-explorers.md) — Exploring and testing HTTP APIs from the command line with autocomplete and syntax highlighting for requests and responses.
- [Interactive Shells](https://awesome-repositories.com/f/development-tools-productivity/interactive-shells.md) — An interactive command-line shell for HTTPie that provides autocomplete and syntax highlighting for exploring and testing APIs.
- [HTTP Shells](https://awesome-repositories.com/f/development-tools-productivity/interactive-shells/http-shells.md) — Launch a command-line REPL that sends HTTP requests and displays responses with autocomplete and syntax highlighting. ([source](https://cdn.jsdelivr.net/gh/httpie/http-prompt@master/README.md))
- [HTTP REPLs](https://awesome-repositories.com/f/development-tools-productivity/read-eval-print-loops/http-repls.md) — An interactive read-eval-print loop built on HTTPie for sending HTTP requests with real-time autocomplete and syntax highlighting.
- [HTTP Client Integration Layers](https://awesome-repositories.com/f/development-tools-productivity/shell-integration-layers/http-client-integration-layers.md) — Wraps HTTPie's request-building and response-parsing capabilities to provide a programmatic API for shell commands.
- [Readline Interfaces](https://awesome-repositories.com/f/development-tools-productivity/command-line-completions/readline-interfaces.md) — Uses the GNU Readline library to provide context-aware tab completion for HTTP methods, URLs, headers, and body parameters.
- [HTTP Request Highlighters](https://awesome-repositories.com/f/development-tools-productivity/terminal-syntax-highlighters/http-request-highlighters.md) — Applies terminal-based syntax highlighting to HTTP requests and responses using Pygments or a similar library for improved readability.

### Networking & Communication

- [Command Line HTTP Clients](https://awesome-repositories.com/f/networking-communication/command-line-http-clients.md) — Using an interactive REPL to send HTTP requests and view responses without leaving the terminal.

### System Administration & Monitoring

- [API Session Context Managers](https://awesome-repositories.com/f/system-administration-monitoring/session-state-management/api-session-context-managers.md) — Maintains a session state that tracks current URL, headers, and other context to simplify repeated API interactions.
- [Command History Persistence](https://awesome-repositories.com/f/system-administration-monitoring/request-history-persistence/command-history-persistence.md) — Stores and retrieves previous commands from a file, enabling navigation through past inputs within the interactive session.

### User Interface & Experience

- [API Explorers](https://awesome-repositories.com/f/user-interface-experience/api-explorers.md) — An interactive command-line interface for exploring APIs with HTTPie, featuring autocomplete and syntax highlighting for HTTP requests.
