AnsweredAssumed Answered

set serialized json variable

Question asked by activitinike on Nov 14, 2016
Hello,

I'm tring to set serialized json/java as a variable using REST api, but no sucess.

Version Enterprise 1.5

Followed this example:
https://github.com/Activiti/Activiti/blob/master/modules/activiti-rest/src/test/java/org/activiti/rest/service/api/runtime/ProcessInstanceVariablesCollectionResourceTest.java
public void testCreateSingleSerializableProcessVariable()…….

Fails with following error:

15:12:48.388 [http-bio-8080-exec-1] ERROR org.activiti.rest.exception.ExceptionHandlerAdvice - Unhandled exception
org.springframework.web.HttpMediaTypeNotSupportedException: Content type 'multipart/form-data;boundary=LeZRA0bLgYWG21T0TRAD7OiyCkyL4f4PI1r3' not supported


Thanks in advance for your help

Outcomes