Hi,
I am trying to create new user in Activiti Engine through Rest API and i am calling "identity/users" Rest call for creating users.
I am passing below json from Enitity.
hp.setEntity(new StringEntity("{ \"id\":\"tijs\",\"firstName\":\"Tijs\",\"lastName\":\"Barrez\", \"email\":\"no-replyalfresco.org\",\"password\":\"pass123\"}", "UTF-8"));
I am getting below error response when above call is executed but no error on server side and user also not inserted.
{"errorMessage":"Unsupported Media Type","statusCode":415}
Please let me know solution for this.
regards,
suresh