Changing the default URL pattern for REST Services in ColdFusion 10

On February 20, 2012, in ColdFusion, REST, by Anuj Gakhar

In my previous post, I did a very simple REST service using Adobe ColdFusion 10. The way ColdFusion handles REST-enabled services is via a pre-defined Servlet Mapping in web.xml that looks like this :- [xml]<servlet-mapping id="coldfusion_mapping_15"> <servlet-name>CFRestServlet</servlet-name> <url-pattern>/rest/*</url-pattern> </servlet-mapping>[/xml] This Servlet Mapping has a URL Pattern which tells CF that any URL starting with “/rest” […]

Tagged with:  

Using REST Services in ColdFusion 10

On February 20, 2012, in ColdFusion, REST, by Anuj Gakhar

ColdFusion 10 went into public beta a couple of days ago and I installed it on a Windows 7 VM, to test it out. There are a LOT of new features in this release and I am sure the next few weeks will be pretty busy in the ColdFusion blogosphere, with posts coming from all […]

Tagged with:  

Designing a RESTful API

On November 16, 2011, in REST, by Anuj Gakhar

I have been working on designing/architecting/developing an API recently as part of my job. That has given me the opportunity to read a lot about REST API’s best practices, how things should be done, what are the common mistakes people do and what are the pitfalls you should be looking for. One thing I have […]

Tagged with:  
© 2011 Anuj Gakhar