Hacker News new | ask | show | jobs
by dragonwriter 3328 days ago
> What if you can't shoehorn your functionality into the handful of REST verbs?

REST doesn't have a handful of verbs, HTTP has a handful of predefined verbs (but supports extensions). REST is an architectural style that does not specify the underlying protocol.

> What if none of the status codes make sense?

Again, that's an HTTP issue not a REST issue. And it's not likely to be a real issue (HTTP status codes may be insufficiently precise—but already support additional data for disambiguation—but I can't imagine a situation where none of them make sense.)