reillysiemens / rhubarb

Repository is deprecated in favor of Dropshot.
https://github.com/dropshot/dropshot-server
3 stars 1 forks source link

Make the routes more RESTful #12

Open RadicalZephyr opened 10 years ago

RadicalZephyr commented 10 years ago

Right now, all the routes are using GET requests. To be RESTful (and for security reasons possibly with the auth request), they should be using semantically meaningful request markers. The Sinatra Readme has a section on routes at the beginning with little blurbs below them that indicate what the general usage for each request type is.

Maome commented 10 years ago

They are intentionally all get right now just for ease of testing / debugging. (plus as far as I remember this whole thing is about to be moved to a rails app, so I would hold off a little bit on doing any work)