I am testing the REST API, as described in the tutorial “How to Use Camunda’s Rest API (Video 4)”
I am using Camunda RUN 7.15
I have the following problems:
- I cannot upload a process diagram through REST API
No matter what keys are specified, I always get this error
(I do not specify Content-Type header)
so at the end I had to upload the diagram through the Modeler
I was able to start the process using the REST API.
However, when I try to complete the task while setting the variables I get this error:
It seems that it tries to complete the task ignoring the variable, which I am sending
as step 2 did not work, I also tried to set the variable teamName using processInstance API:
No error in the response, however the variable is set as Null:
if I set the variable teamName through the Cockpit, I can complete the task using the REST API (without sending variable value in the body)
Any idea what am I doing wrong?
Thanks in advance