api.cfm — простой REST через ?action=

This commit is contained in:
2026-06-18 12:31:47 +04:00
parent 8cc65e549e
commit 114c652631
2 changed files with 74 additions and 0 deletions
+4
View File
@@ -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