Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete response 204 #122

Open
thinhpc opened this issue Mar 7, 2014 · 1 comment
Open

Delete response 204 #122

thinhpc opened this issue Mar 7, 2014 · 1 comment

Comments

@thinhpc
Copy link

thinhpc commented Mar 7, 2014

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?

@macnibblet
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants