cancel
Showing results for 
Search instead for 
Did you mean: 

REST request for creating new deployment

hemamalini
Champ in-the-making
Champ in-the-making
I deployed the activiti-rest war in tomcat. I have a file sampleworkflow.bpmn20.xml created using designer in my c drive. i am using REST client to check the JSON response. In the user guide it was mentioned that "The request should body should contain data of type multipart/form-data." Can you please provide a sample request body for deployment through REST Client .
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Depends on what framework you use. Multipart-form request cannot be crafted by hand (as it contains binary parts and is very strict about the correct format). If you're using java, take a look at commons-http-client project, this has excellent support for sending multipart entities over the wire…