Sending Webhooks with Content-Type header : 'multipart/form-data'

Does anyone have experience sending webhooks from AppSheet that include โ€˜multipart/form-dataโ€™ Content-Type?

Iโ€™m working with the FreshDesk API, and trying to submit a POST with a body that contains Text, and an array of attachments. Is this even possible with AppSheet?

2X_f_f22419b2a7c720d9ee2c093f0ed8917de408cd07.png
There is a FORM_URL_ENCODED type, but not โ€˜multipart/form-dataโ€™.

0 4 738
4 REPLIES 4

To POST file attachements, those attachments shall be in binary form in the API payload, therefore you need multipart/form-data for that. But AppSheet does not have multipart/form-data as a request type. However may be @Phil can point out another workaround.

Thanks, @LeventK. I thought that was the case but wanted to confirm. Looks like a job for Apps Script!

@GreenFlux yes, indeed

Sorry, but we donโ€™t support Post of multipart/form-data yet.

Top Labels in this Space