LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

resterm

Terminal API client for HTTP, GraphQL, gRPC, WebSocket, and SSE

TLDR

Launch the API client TUI
$ resterm
copy
Open a request file in the TUI
$ resterm --file [path/to/request.http]
copy
Run requests directly from the terminal
$ resterm run --file [path/to/request.http]
copy
Initialize a new workspace with samples
$ resterm init
copy
Run a specific named request in an environment
$ resterm run --file [requests.http] --request [getUser] --env [staging]
copy
Import a curl command into an .http file
$ resterm --from-curl "[curl https://example.com]"
copy
Convert an OpenAPI 3 spec into request files
$ resterm --from-openapi [spec.yaml]
copy

SYNOPSIS

resterm [options] [file]resterm run [options]resterm init [options]resterm collection import|export [options]

DESCRIPTION

resterm is a keyboard-driven terminal API client supporting HTTP, GraphQL, gRPC, WebSocket, and SSE. Requests are stored in plain `.http` / `.rest` files so they can be version-controlled alongside code.Features include OAuth 2.0 authentication, SSH tunnels, Kubernetes port-forwarding, conditional logic and multi-step workflows, response diffing, profiling, and streaming transcripts for WebSocket and SSE sessions.

PARAMETERS

--file PATH

Target a specific request file.
--workspace DIR
Specify the workspace directory.
--env NAME
Select an environment from the workspace.
--env-file PATH
Use a dotenv file (opt-in).
--request NAME
Run a specific named request.
--timeout DURATION
Set the request timeout.
--insecure
Skip TLS certificate verification.
--follow
Follow redirects.
--proxy URL
Use the specified HTTP/HTTPS proxy.
--recursive
Process files recursively.
--compare
Run a request across multiple environments and diff responses.
--dry-run
Preview actions before executing.
--force
Replace existing files during import.
--from-curl CMD
Import a curl command as a request.
--from-openapi SPEC
Convert an OpenAPI 3 specification into request files.
--http-out FORMAT
Specify output format for responses.
--check-update
Check for newer releases.
--update
Download and install the latest version.

COMMANDS

run

Execute one or more `.http` / `.rest` requests from the terminal.
init
Bootstrap a workspace with sample requests and environment files.
collection export
Export a workspace into a Git-friendly bundle.
collection import
Import a bundle into another workspace.

HISTORY

resterm was created by unkn0wn-root and is written in Go.

SEE ALSO

curl(1), posting(1), httpie(1)

Copied to clipboard
Kai