RestInitApplication()
Registers the directory path with the service mapping provided. If no service mapping is provided, the application name is used. If the rest application is already registered, it is refreshed.
RestInitApplication( dirPath=string, serviceMapping=string, default=boolean, password=string );
Returns: void
Examples
restInitApplication( dirPath="path_to_cfc_dir", serviceMapping="api", password="webAdminPassword" );
See also
- Ajax features
- Application
- Ajax features
- RestSetResponse()
- REST Services: Introduction
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)