frain-dev / convoy

The Cloud Native Webhooks Gateway
https://getconvoy.io
Other
2.42k stars 130 forks source link

[Feature request]: Add support for inbound webhooks that use form data #1987

Closed spewu closed 1 month ago

spewu commented 4 months ago

Is your feature request related to a problem? Please describe.

I was trying to use Convoy to ingest webhooks from Mandrill. Unfortunately, I discovered that Mandrill posts data using form data, and not a normal JSON body. Convoy does not even show the requests from Mandrill in the UI, but I did see these logs in the convoy-worker (which I think are related somehow)

{"error":"invalid character 'H' looking for beginning of value","level":"error","msg":"error find a matching subscription for this source","time":"2024-04-29 13:46:38"}
{"error":"error find a matching subscription for this source","job":"CreateEventProcessor","level":"error","msg":"job failed","source":"worker","time":"2024-04-29 13:46:38"}

Describe the solution you'd like

Support for inbound webhooks that use form data for their body

Describe alternatives you've considered

I don't really see an alternative. I can't change Mandrill to not use form data in their webhooks.

linear[bot] commented 4 months ago

CON-362 [Feature request]: Add support for inbound webhooks that use form data