Scans all the CFCs in dirPath, and places those that are REST enabled at the serviceMapping URL. Requires the web admin password under Lucee.
restInitApplication(dirPath,serviceMapping,default,password)
→ returns void
restInitApplication( dirPath=expandPath('./cfcs/api/'),serviceMapping='api',password='password' )
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.