roccomuso / node-webhooks

:arrow_right_hook: Node.js module to create and trigger your own webHooks.
190 stars 47 forks source link

Request: Add url interpolation feature #23

Open dankelleher opened 5 years ago

dankelleher commented 5 years ago

In my use case, I have a service that looks something like: POST /resource/:id and I want to direct my webhook to that service based on the POST request body sent into the webhook. So if the POST to /my-webhook is { id: 'xyz' }, it directs to /resource/xyz.

See PR here: https://github.com/roccomuso/node-webhooks/pull/22