I am trying to set up a web service and thought that I’d make use of Coldbox-Relax. I watched the intro video of how to install and configure, by adding to the “modules” folder within my CF application. I can’t quite get my head to wrap around the following:
-If my domain is “http://localhost/myapp”; then I made the call to one of the apis like this “http://localhost/myapp/rest/:api/test.jon”. The returned message was that the api/test is an unregistered event.
-Can I use Relax a separately from my application? If yes, how then how can the calling application make a call to the Relax services?
-I noticed in the in the “myapi” example included with the Relax download, all api resources are defined with handler “rest.*”, there’s not such “rest” handler within the Relax module. Is this a handler that supposed to be added to my application handlers?
Am a bit confused on the connection between the main application and the Relax module. I searched but not able to find additional indept tutorial, other than the intro one. Still a newbie here, so please pardon my trivial questions. Thanks!