Skip to content

hars-21/reqsh

Repository files navigation

reqsh | Interactive HTTP shell

Platform Rust License Status PRs Welcome

Interactive HTTP shell for API workflows. Send requests, manage headers & variables and rerun past commands from a terminal REPL.

Features

  • Interactive REPL with tab completion
  • Send GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS requests (case-insensitive)
  • Multi-line request input for headers and body
  • Persistent session state across restarts
  • Variable interpolation with {{name}} syntax
  • Query parameter support with param: key=value
  • Save, manage and run requests in-session
  • JSON response pretty-printing with colored output
  • Command history and rerun by index
  • Configurable request timeout

Quick Start

Install

curl -fsSL https://reqsh.dev/install.sh | sh

Or download a binary from the releases page or build from source.

Usage

reqsh> base https://api.example.com
reqsh> GET /users
reqsh> POST /users
.....> Content-Type: application/json
.....>
.....> {"name": "john"}
.....> ::send

For full documentation on commands, variables and usage see the docs.

Contributing

Contributions are welcome. Please read CONTRIBUTING.md for guidelines.

License

MIT. See LICENSE for details.

About

Interactive, persistent shell for HTTP requests. Built with Rust for ultimate speed and simplicity.

Topics

Resources

License

Code of conduct

Contributing

Stars

41 stars

Watchers

2 watching

Forks

Sponsor this project

 

Contributors