Files
svc-api-x/v1/resources/bk/test2.cfc
T
2024-10-29 06:27:00 +03:00

26 lines
893 B
Plaintext

<cfcomponent extends="taffy.core.resource" taffy:uri="/test2">
<cfsilent>
<cfimport prefix="m" taglib="../lib"/>
<cfset this.helper=CreateObject("component","lib.rest_api_helper")/>
</cfsilent>
<cffunction name="get" hint="попробуем авторизоваться у элмы">
<!--- <cfargument name="svcOperationId" required=true hint="int"/> --->
<!--- <cftry>
<cfset this.helper.validateField(arguments, "svcOperationId", "integer")/>
<cfcatch type="invalidParamValue">
<cfreturn representationOf(this.helper.formatBadRequestError(cfcatch)).withStatus(400)/>
</cfcatch>
</cftry> --->
<!--- <cfdump var=#request#/><cfabort/>--->
<cffile action="read" file="/usr/lib/serverHome/WEB-INF/web.xml" variable="fcontent" />
<!--- <cfdump var=#userdata#/><cfabort/> --->
<cfreturn representationOf(fcontent) />
</cffunction>
</cfcomponent>