ColdFUsion 11上的以下脚本块有GetHttpRequestData().content
为hello
如果我将动词更改为DELETE则为空。
所以......
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;
答案 0 :(得分:1)
解决方法是使用java(颤抖)。我确定有更好的帮助库可以更简洁地完成这项工作,但现在就是这样。
UPDATE dbo.Issue
SET state = INSERTED.State
FROM
INSERTED
WHERE dbo.Issue.EventId = INSERTED.EventId
AND INSERTED.State in (0, 1)
UPDATE dbo.Action
SET State = INSERTED.State
FROM
INSERTED
JOIN Issue on INSERTED.EventID = Issue.EventID
WHERE
INSERTED.State in (0,1)