HTTP response status code for update and delete method?
I am building an API endpoints and following RESTful architectural style.
but I don't now which response status code perfect for each endpoint
Can you help me and the community to build perfect endpoints
please support your answers with references so we can follow up .
@muathye Stop overthinking it. Return a 200 OK if the update request was successful and returns the updated resource. Return a 204 No Content response when a delete request is successful (as there’s nothing to return if the resource has been deleted successfully).