ReqtapDocs

CLI commands

Use the Reqtap CLI for login, endpoint creation, live tailing, forwarding, and replay.

commanddescription
npx @reqtap/cli login --apiBase http://localhost:3333Save the API base URL locally.
npx @reqtap/cli login --apiBase http://localhost:3333 --email [email protected] --password password123Login with email/password and store a bearer token.
npx @reqtap/cli new --name stripe-dev --slug stripe-devCreate a new endpoint and print its capture URL.
npx @reqtap/cli tail stripe-devWatch live requests in the terminal.
npx @reqtap/cli forward stripe-dev --to localhost:3000/webhooksForward live requests to a local handler with reconnect backfill.
npx @reqtap/cli replay <request-id> --to localhost:3000/webhooksReplay one stored request to a target URL.