ServiceReg -- Getting Rid of RESTful Properties via GET

, Apr 10, 2008

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
On April 10, 2008 8:31 AM, Various Artists said:

Actually, it seemed like a bad idea at first sight :)

On April 10, 2008 11:56 AM, Arjen Poutsma said:
It basically assumes “RESTful service” equals the way REST does them

I think you mean:

It basically assumes “RESTful service” equals the way RoR does them.

On April 10, 2008 12:13 PM, Stefan Tilkov Author Profile Page said:

Thanks - fixed.

On April 10, 2008 7:08 PM, Mike Davison said:

Why would I ever even contemplate doing something like this? Am I missing something obvious? Bad indeed…