devicehive-java-server
devicehive-java-server copied to clipboard
The API should return HTTP 400 on PUT call with no request body.
Currently the API return HTTP 204 No Content, however PUT requests with no request body do not make any sense, and typically erroneous. It's suggested to return HTTP 400 Bad Request to notify the caller about missing request body,
Could you provide endpoints with such an issue by any chance?