1.1.0 • Published 4 years ago

@gananda/eventgrid-endpoint-validate-middleware v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

Make your life easier when registering webhooks endpoints in Azure Event Grid

Installation

$ npm install --save @gananda/eventgrid-endpoint-validate-middleware

Usage

When creating a subscription in Event Grid, it will check and validate your URL (The one you entered in the webhook URL part). Just use the middleware and it will handle validating with Event Grid for you.

const express = require('express');
const eventgridEndpointValidate = require('@gananda/eventgrid-endpoint-validate-middleware');

const app = express();
app.use(express.json());
app.use(eventgridEndpointValidate);

// …