Skip to main content

Request Forwarding

Forward incoming webhook requests to your local development server.

Forward to URL

arm webhook create --forward http://localhost:4000/webhook

Forward to Tunnel

arm webhook create --forward-tunnel my-api

Forwarding Options

OptionDescription
--forward <url>Forward to URL
--forward-tunnel <name>Forward to tunnel
--forward-timeout <ms>Timeout in milliseconds
--forward-retry <n>Retry count on failure

Request Transformation

Transform requests before forwarding:

arm webhook create \
--forward http://localhost:4000/webhook \
--transform '{"event": "$.type", "data": "$.payload"}'