Glo Webhooks Examples
- Node v6 or greater
- Install dependencies with
- Edit the value of
server.jsto be a string of your choosing.
- Run the server with
- Create an ngrok url pointing to the webhook server by running
ngrok http 8080
- Create a webhook in Glo, using the ngrok forwarding URL generated by the previous step as the payload URL, and using the same secret you used for the value of
WEBHOOK_SECRET(or leave blank if it's empty string)
Now when you perform an action in Glo, you should see the server log the webhook payload.