ColdFusion CFHTTP GET剥离饼干

时间:2013-05-02 21:21:10

标签: web-services coldfusion coldfusion-9

我在尝试在我的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#">

0 个答案:

没有答案
相关问题