convoy
convoy copied to clipboard
[Feature request]: Add support for inbound webhooks that use form data
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.