Webhook different content type: multipart form data
Right now, webhooks only support:
- application/json
- */xml
- application/x-www-form-urlencoded
I would like to be able to capture "multipart/form-data"
Jot Forms uses this content type for all of their webhooks.
Specifically, an example of their payload looks like this:
Header: "content-type": "multipart/form-data; boundary=------------------------5d7d394f43746b4f"
Body:
--------------------------5d7d394f43746b4f
Content-Disposition: form-data; name="formID"
22222123456123456
--------------------------5d7d394f43746b4f
Content-Disposition: form-data; name="submissionID"
5361285******458427
--------------------------5d7d394f43746b4f
Content-Disposition: form-data; name="webhookURL"
https://api.integrator.io/v1/exports/*******/********/data
--------------------------5d7d394f43746b4f
Content-Disposition: form-data; name="ip"
8.8.8.8
--------------------------5d7d394f43746b4f
Content-Disposition: form-data; name="formTitle"
This is a test
--------------------------5d7d394f43746b4f
Content-Disposition: form-data; name="rawRequest"
{"jsonData":"testdata"}
Comments
Hey Andrew Rowe :)
May I ask that you add the above request in the Product Portal as well?
That way, it can be seen by others who can also vote on it. In addition, our product team receives an automated notification when you post on / cast a vote through the Product Portal.
Thank-you :)
Please sign in to leave a comment.