i did a talk of API and covered REST at cfDevCon 2006: http://www.succor.co.uk/index.cfm/2006/11/15/Report-on-cfDevcon06
HTH On 17/08/07, Damien McKenna <[EMAIL PROTECTED]> wrote: > > -----Original Message----- > > From: Robert Rawlins - Think Blue > > Sent: Friday, August 17, 2007 10:53 AM > > Subject: REST Webservices > > > > Now, SOAP is obviously native to CF and publishing a few > > classes as SOAP is very simple for me, how simple is it to > > work with REST in ColdFusion? Has anyone here got any > > experience with it? > > I've not implemented any REST APIs but I understand the principles. > > http://en.wikipedia.org/wiki/REST > has lots of good info. > > Basically with REST you use the HTTP verbs to their fullest and most > logical. If someone passes a query string of "/product/1" via GET they > are looking to read the data, whereas passing it via POST means they > want to update the record. There's also "DELETE" verb for removing > records and a "PUT" verb for creating a new one. The API should also be > stateless - you shouldn't use session, client or cookie variables and > they also should be able to perform all necessary actions from one API > call, i.e. log in, update a record and log off. > > Hope that helps some. > > > Damien McKenna > Web Developer > The LIMU Company > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286559 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

