Skip to main content

Replay Requests

Create new webhook and send request to it

  • Create a new webhook endpoint that can be used to receive webhook requests.
  • Send a request to the created webhook endpoint.

CLI replay request

Copy CLI command from the UI and run it in your terminal.

Command

npx @wt-dev/wt-cli  replay  -f <local-forward-url> token -t <forwarding timeout> <token> <request-id>
  • -f or --forward-url : Local (or public) URL where requests will be forwarded.
  • -t or --timeout : Timeout in seconds for forwarding request

Endpoint and timeout can also be set by using environment variables WT_FORWARD_URL and WT_TIMEOUT.