* Zbigniew Lukasiak <[EMAIL PROTECTED]> [2008-05-15 21:25]: > On Thu, May 15, 2008 at 7:31 PM, Mark Trostler <[EMAIL PROTECTED]> wrote: > > Similarly you don't need 'id' in the url - so POST to > > /api/rest/cd will create a cd. A PUT to /api/rest/cd/5 will > > update that CD - a DELETE to /api/rest/cd/5 will delete that > > CD... > > Additionally we would like to have other non REST actions in > the same controller. This mixing will require some separation > between the method names and the object id (which is data).
You are thinking about it wrong. You don’t put method names into the URI; you expose more of the state as things to manipulate. If you give an example of what you mean I can give you one of what I mean. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/> _______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/