How to pass on multipart-form-data to the http connector (in the payload)


I am trying to invoke a REST APU through the Http-Connector , but my REST API accepts data as multipart-form , so how to map the same in the payload of the http-connector in the Camunda Modeller ?


Hello @mudit,

Passing by the payload as multipart/form-data is not possible with the http-connector. You would have to use a JavaDelegate and implement this on your own. Since there are several libraries available this shouldn’t be this hard.

Best, McAlm

1 Like

Thanks @McAlm

1 Like

Hello, just to confirm. I am trying to post to the deployment end point directly ( from a service task using an http connector (Javascript only, no delegate). It does not seem to be possible, is that correct? Thank you.