4 ms·
I'm more surprised that they're returning a 200 when an item doesn't exist. If they'd just return a 404, per usual, the content of the body wouldn't really matt
by MalcolmDiggs 12y ago
I'm more surprised that they're returning a 200 when an item doesn't exist. If they'd just return a 404, per usual, the content of the body wouldn't really matter. (in my opinion)
- dmjio 12y agoyea... that's another issue to add
- davismwfl 12y agoI would argue a 404 is not proper in this case and a 200 is more correct and valid. The URI exists, the requested record/document does not, hence the successful response with no return.
- MalcolmDiggs 12y agoThat's an interesting way to look at it. I can definitely see your point, thank you.