This is a single archived entry from Stefan Tilkov’s blog. For more up-to-date content, check out my author page at INNOQ, which has more information about me and also contains a list of published talks, podcasts, and articles. Or you can check out the full archive.

ServiceReg -- Getting Rid of RESTful Properties via GET

Stefan Tilkov,

This may seem like a good idea at first sight -- a service that turns{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…