Forward to localhost
Subscribe to a live endpoint stream and send each new request to your local handler.
Forward preserves method, body, most headers, path, and query string. Hop-by-hop headers like host and content-length are regenerated by the HTTP client.
$ npx @reqtap/cli forward stripe-dev --to localhost:3000/webhooks
$ Listening on http://localhost:3333/t/stripe-dev
$ POST /webhooks/stripe -> 200 41ms
The CLI stores a local cursor, so reconnects and restarts backfill missed requests from the last acknowledged timestamp.