ColdFusion CFHTTP GET剥离cookie

我遇到了试图在我的CFHTTP GET声明中传递cookie的问题。

有没有其他人经历过这个? 指针将不胜感激。 顺便说一句 - 我正在使用x-http-method-override ,因为我在其他一些讨论此主题的网站上看到了这一点。

<cfhttp url="#this.apiServer#/api/v#this.version#/user.json" 
        method="POST" result="jorn">            
    <cfhttpparam type="COOKIE" name="ms_user" value="#arguments.patAppSession#" />
    <cfhttpparam type="header" name="Content-Type" value="application/json" />
    <cfhttpparam type="header" name="x-http-method-override" value="GET" />
    <cfhttpparam type="body" value='#variables.dataFields#' />
</cfhttp>
<cfdump var = "#jorn#">
链接地址: http://www.djcxy.com/p/5281.html

上一篇: ColdFusion CFHTTP GET strips cookie

下一篇: Testing HTTPS locally with Coldfusion