Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's clearly incorrect semantics, and should be 400 Bad Request. Unfortunately the semantics of HTTP status codes are unenforceable with some obvious exceptions.

There's no excuse for not implementing them properly, however. I'm less of a fan of the existence of verbs, which I consider to be a part of the URI which isn't in the URI itself. Things would be better if one URI was one endpoint, rather than potentially as many endpoints as there are verbs.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: