|
|
|
|
|
by steveklabnik
5698 days ago
|
|
In the general case, I agree with you. However, everyone knows what 'RESTful urls' and 'RESTful apis' mean, it's just that it's not the original recipe REST. For better or worse, the definition has changed. It's still effective communication, because you know I'm contrasting '/bets/1' with 'index.aspx?action=displayBet&bet_id=1&' (which still could be quite RESTful, actually...), and a form that POSTs to '/bets' vs. a form with method=GET request to 'index.aspx?action=addAnotherBet&=SomeValue=1&something_else=2'. And yes, there's more to it than that, but you get the idea. Just because it makes puritains die inside doesn't make it wrong. |
|
I'd have thought everyone understands what a clean URL is without bringing across all the extra baggage/meaning of calling it RESTful.