
George
New User
Sep 11, 2008, 10:09 AM
Post #1 of 2
(1660 views)
|
|
REST Server: logical -> physical URI problems
|
Can't Post
|
|
Hello Folks I am writing a REST server, but struggling to see how I can dispatch the service calls correctly. Currently I have a RewriteRule in .htaccess which redirects the REST compliant logical URI to my handler cgi script. The redirect works fine, but I am losing the parameters that were embedded in the logical URI. There has to be a better way to do this (for performance reasons if nothing else) and there is next to nothing out there in terms of documentation. I know that there is some Catalyst stuff for REST dispatching, but I don't want to go down that route if I can avoid it. Anyone out there written a REST server ok? Can you provide any pointers? Your help would be greatly appreciated! George (I thought REST was supposed to be *simpler* than SOAP!)
|