Though HTTP body has content, the IOS user setting service returns HTTP 400.
Request Detail
Method: POST
Content-Type: text/plain
Body: Siri
Error log: 2019-02-06 12:04:37.643425+0530 mobentios[273:12086] [Error] UserSettings Service POST No HTTP Body
Sample AngularJS request code used to consume the service:
var request = {
"method": "POST",
"url": "http://pmapi/usersettings/name",
"headers": {
'content-type': 'text/plain'
},
"data": "Siri"
};
$http(request);
Please note that the above request worked fine for Android and Windows (Java).