The command line for debugging your webhooks.
The
forward
npx -y @webhookwizard/cli forward <destination>
Forward webhooks from the internet to a destination.
For example..
npx -y @webhookwizard/cli forward http://localhost:8080
forwarding from https://webhookwizard.com/api/webhook/in/5aa297cd-471f-4956-a1ec-3fb1b5775baa to http://localhost:8080
listening for messages to forward
2022-08-20T05:26:29.906Z sent to http://localhost:8080
Messages are sent over a websocket tunnel in the cli. Forwarding messages will work without your dev machine being directly accessible on the internet and will work behind a firewall.
Listen to http requests and logs them, so you can see the headers and the request body.
npx -y @webhookwizard/cli listen
For example..
npx -y @webhookwizard/cli listen
2022-08-28T05:36:31.176Z /incomming
Host: localhost:8080
User-Agent: curl/7.79.1
Accept: */*
Content-Length: 16
Content-Type: application/x-www-form-urlencoded
👋 hello world