I'm using tomcat v8 and trying to post a object thru RequestBody to my REST API. This REST API is basically RequestMethod.DELETE as the logic inside this API is to delete the object that was passed in the RequestBody.
This didn't work for me. I had to later convert my method to POST but I am still wondering does DELETE doesn't accept RequestBody ?
Is this the restriction from the Spring framework or REST principles or something to do with my Tomcat configuration (server.xml) file.