REST request for creating new deployment
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2014 02:01 AM
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 .
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2014 04:48 AM
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…
