在ColdFusion 11上,以下脚本块使用GetHttpRequestData().content
作为hello。
如果我将动词更改为DELETE,则为空。
那么...
- ColdFusion是否不支持通过
cfhttp
进行请求时的此操作? - 这是错误的方法吗?
- 是否有解决方法?
代码:
cfhttp(method="POST", charset="utf-8", url="http://x/showrequest.cfm", result="result" ) {
cfhttpparam(name="body", type="body", value="hello");
}
writeOutput(result.filecontent);abort;