06-14-2014 03:32 AM
WebClient client = createClient("repository/deployments");
InputStream resourceAsStream = RestRequestTandem.class.getClassLoader().getResourceAsStream("diagrams/leave.bpmn");
client.type("multipart/form-data");
ContentDisposition cd = new ContentDisposition("form-data;name=bpmn;filename=leave.bpmn;");
Attachment att = new Attachment("leave.bpmn", resourceAsStream, cd);
MultipartBody body = new MultipartBody(att);
Response response = client.post(body);
06-16-2014 05:19 AM
06-16-2014 10:42 PM
06-27-2014 08:25 AM
06-28-2014 07:41 AM
07-07-2014 08:08 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.