0.1.0 • Published 5 years ago
webhook-provider v0.1.0
Webhook Provider
Simple webhook provider that posts to an endpoint.
Usage
const params = {
headers: {
'Authorization': 'Bearer jwt',
},
url: 'http://localhost:5000',
method: 'POST',
};
const webhook = new WebhookProvider(params);
webhook.send({
text: 'Hello, world!',
});
0.1.0
5 years ago