jhnferraris / webhook-netlify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

webhook-netlify

This is a sample of a webhook that can be used on any system (e.g. gateways) that will notify your application via a POST endpoint.

How to call the webhook using the sample

This sample code used Netlify to host the Express server. Follow the guide here.

Calling the webhook

Once you have deployed the repository in your Netlify account, the POST endpoint /api/webhook will now work. You can use any cURL application like Postman to simulate a webhook call

Screenshot of Postman Screen Shot 2022-05-19 at 8 43 35 AM

On live applications, webhook endpoints are typically registered on the 3rd party APIs (e.g. payment service providers) to enable these APIs to notify their client's applications.

About


Languages

Language:TypeScript 100.0%