ServiceReg -- Getting Rid of RESTful Properties via GET
This may seem like a good idea at first sight -- a service that turns
http://servicereg.com/verb/{user:password@}domain/noun{/id?params}
into a corresponding GET, PUT, POST or DELETE against a RESTful Rails app.
Unfortunately, it has two major problems:
- It defeats the whole purpose of RESTful design, which is to use the HTTP verbs according to their meaning
- It basically assumes "RESTful service" equals the way Rails does them, which is one, but definitely not the only way
Actually, it seemed like a bad idea at first sight :)
I think you mean:
It basically assumes “RESTful service” equals the way RoR does them.
Thanks - fixed.
Why would I ever even contemplate doing something like this? Am I missing something obvious? Bad indeed…