AnsweredAssumed Answered

creating user with Rest API

Question asked by sureshtellakula on Nov 26, 2013
Latest reply on Dec 5, 2013 by frederikheremans1
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\":\"\",\"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.