generated from 8iq/nodejs-hackathon-boilerplate-starter-kit
-
Notifications
You must be signed in to change notification settings - Fork 96
Open
Description
Hello team!
In my workflow I need to call an external service every time a ticket is created. I can achieve this with polling, but I would much rather rely on webhooks.
While digging through the codebase I saw that webhook support is already built-in, yet the current model seems inflexible: I can’t specify
- the HTTP method (e.g.,
POST,PUT) - custom headers (for authentication, content type, etc.)
- or a request body template
My service authenticates via a cookie sent in the header, and right now there’s no way to set that cookie with the existing webhook implementation.
Could you clarify whether these features are currently possible?
If not, I’d be glad to open a PR that extends the webhook model to allow custom method, headers and body.
Thanks for your time!
Metadata
Metadata
Assignees
Labels
No labels