but am not able to create it. I keep getting the error { "errorMessage": "Request didn't cantain a list of variables to create.", "statusCode": 400 }
No error is found in the tomcat logs. With PUT method also, I am getting the same error. Even when using "http://localhost:8080/activiti-rest/service/runtime/executions/97188/variables", I get the same error. I am using chrome extension POSTMAN to make the rest-requests. Tried to pass the request body as Text/JSON/XML/HTML.. but same error is produced. Any help will be great. Thanks!!!
@pivyas I had the same issue with POSTMAN, so I looked at the headers and the 'Content-Type' was missing. Once you add the 'Content-Type: application/json' header to the request, it works just fine.