Testing a Webhook with Localhost Endpoint using ngrok
Last updated: May 28, 2020
Does anyone know if it’s possible to test a Webhook with an endpoint running on localhost? I’m assuming that the sanity server is the one that actually calls the webhook so testing on localhost wouldn’t work?
May 28, 2020, 11:42 PM
Looks like localhost isn’t allowed as a hook url. Makes sense, but that means I have to have an endpoint already deployed before I can test
May 28, 2020, 11:46 PM
You could use ngrok to tunnel to your local endpoint