Hacker News new | ask | show | jobs
by rlivsey 5697 days ago
In this case I'd opt for "clean" as a better word for what you're trying to describe.

I'd have thought everyone understands what a clean URL is without bringing across all the extra baggage/meaning of calling it RESTful.

2 comments

In this case, you're probably right.

I'm usually discussing this more fully, as in "RESTful API vs. SOAP" or the actual nitty-gritty of POST vs PUT requests and such. "clean" works much better in this context, though, thanks. I'll file that one away...

I'm one of those puritans who cries a bit inside myself.

I would say that a RESTful URL is simply one that multiple verbs can be applied to. That is, e.g. GETing and POSTing against the URL do different things, thus making the URL the "noun" and the HTTP method the "verb." Completely orthogonal to whether the URL is human-readable.