api.cfm — простой REST через ?action=
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
|
||||
<cfset this.datasource = "baza"/><!--- default datasource name --->
|
||||
<cfset getDS(this.datasource,"baza")/><!--- datasource name, environment variable prefix without "_" --->
|
||||
|
||||
<!--- REST API --->
|
||||
<cfset this.restEnabled = true/>
|
||||
<cfset this.restSettings = {skipCFCWithError: true}/>
|
||||
|
||||
<!--- Define the page request properties. --->
|
||||
<cfsetting
|
||||
|
||||
Reference in New Issue
Block a user