post https://example.com/webhooks
Example of endpoint body with headers post to your-server
application.
Example of endpoint body with headers post to your-server
application.
xxxxxxxxxx
const options = {method: 'POST', headers: {'content-type': 'application/json'}};
fetch('https://example.com/webhooks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));