PhlyRestfully icon indicating copy to clipboard operation
PhlyRestfully copied to clipboard

Delete response 204

Open thinhpc opened this issue 10 years ago • 1 comments

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?

thinhpc avatar Mar 07 '14 08:03 thinhpc

204 means the request was successful but no content was returned. And why would you return a deleted entity on a successfull delete request ?

macnibblet avatar Mar 07 '14 10:03 macnibblet