You're building a webhook handler. It runs on localhost:3000 . GitHub needs a public HTTPS address to send to, so the delivery never arrives, and you're writing your handler against the JSON sample in the docs instead of what GitHub really sends.
Here's a way to get the real delivery onto your machine, headers and body intact, without a tunnel and without installing anything.
1. Get a public address that records everything
Open curler.dev and click Create a bin . The top bar shows a capture URL like:
https://api.curler.dev/h/fZU_aI73r6LZkEr4eThskAPiWwXaXa
Enter fullscreen mode
Exit fullscreen mode
Anything sent to that address, or to any path below it, is recorded: method, path, headers and the raw body.
2.β¦