I am writing a Web API application and I have a particular POST method which just pushes a message in to a database in server side.
I do not want to send back the id of the newly created entry in the database.
Just want to send the client that the request is success
What is the HTTP CODE that should be returned in this case ?
HTTP 200 OR HTTP 201 ?
EDIT:
Googled about status code
http 200 means ok and http 201 means created.
Here i am creating a resource but dont want to send the id of the newly created resource. What should be the return code in this case ?