{
"error": {
"code": 400,
"message": "Expecting to find application/json in Content-Type header - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.",
"title": "Bad Request"
}
}
Hi I'm having trouble reproducing this bug
When I try:
$ curl $TOKEN -X PUT localhost: 35357/v2. 0/tenants/ bd90b83b1d5642c 49c0f329160ffc4 d3 -H 'Content- Type:applicatio n/xml' -d '<tenant enabled="false" name="ACME corp" id="1234556"> ></description>
<description test=""
</tenant>'
The error response I get:
{
"error": {
"code": 400,
"message": "Expecting to find application/json in Content-Type header - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error.",
"title": "Bad Request"
}
}