DEV Community

loading...

Discussion on: The Complete Guide to Status Codes for Meaningful ReST APIs - Let's start!

khaosdoctor profile image
Lucas Santos Author

Oh! In this case, my personal opinion is that you can use either 200 OR 204, I'd use 204 since it has no content to be returned, but if you do return something go for 200