PhlyRestfully
PhlyRestfully copied to clipboard
Delete response 204
I try to create delete function and expected that it maybe return something like: status = OK or http header code may be 200 with a body message But It always return 204 and response body is null on success case
So what purpose is it?
204 means the request was successful but no content was returned. And why would you return a deleted entity on a successfull delete request ?