A building block that shows how to handle an inbound call
- You must specify one endpoint must be on the path
/webhooks/delivery-receipt
- Your endpoint must be accessible on
GET
and onPOST
requests - Your endpoint must listen on port
3000
- Your response should return a 204 status code
- Your endpoint should handle query string parameters on
GET
- Your endpoint should handle
application/x-www-form-urlencoded
parameters onPOST
- Your endpoint should handle JSON on
POST
Note: Please test using all three settings in Dashboard > Settings:
GET
,POST
&POST-JSON
.
- Code examples should include a GitHub link to the file
- Code examples should include the line numbers used from the linked file
- All code examples must be present in the
master
branch of the relevant quickstart repo - All code examples must be tested to work (manual testing is fine)
- Fork this gist
- Edit the gist and the building block files to match the specification
- Return Gist as a comment in the original issue