event-gateway
event-gateway copied to clipboard
Event type defined via query string (webhooks integration)
Using the header is okay, but it prevents me from just posting in arbitrary events from typical webhook systems.
I would like to see a GET and POST based endpoints for custom events that can use query params so I could pass in the events from any arbitrary webhook producer. (GitHub, GitLab, etc)
POST {gateway}/?eventType=github for example
Thanks for that idea. That makes sense for POST. What is the use case behind GET?
So I wrote my own event gateway all in raw AWS / SNS, just to help me understand the application of the architecture better. In the process, when integrating a couple webhook providers, they would only do GETs which lead me to thinking about the need for GET marshaling.
This isn't as typical these days, but some older webhook style systems only did GETs and not POST.