我在补丁动词中创建了一个太妃糖 API 端点
我会运行 explore 来抛出以下错误
补丁动词在 ACF 中工作稳定,但在 lucee 中不工作
MY lucee 版本 -> Lucee 4.5.4.017 final
任何人都让我知道如何解决该问题
我的代码:
<cfcomponent extends="taffy.core.resource" taffy_uri="/artist/">
<cfset variables.dummyData = StructNew() />
<cfset variables.dummyData.whatever = true />
<cfset variables.dummyData.phone = encode.string(5558675309) />
<cfset variables.dummyData.phoneNumeric = 5558675309 />
<cffunction name="patch" access="public" output="false">
<cfreturn representationOf(variables.dummyData).withStatus(200) />
</cffunction>
</cfcomponent>