Question
Connection failure error when using cfhttp to a asp.net site
Hi guys,
i've encountered connection failure error when using cfhttp to a asp.net site.
However, when i access the site on the browser it's working fine.
here is the codes:
<cfhttp url=" http://XXX/login.aspx" method="POST" port="443" multipart="NO" userAgent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" resolveurl="YES" redirect="YES">
<cfhttpparam type="Header" name="Accept-Encoding" Value="*">
<cfhttpparam type="Header" name="TE" value="deflate;q=0">
<cfhttpparam type="Formfield" name="password" value="XXX">
<cfhttpparam type="Formfield" name="email" value="XXXX">
</cfhttp>
Pls help
thanks!
i've encountered connection failure error when using cfhttp to a asp.net site.
However, when i access the site on the browser it's working fine.
here is the codes:
<cfhttp url=" http://XXX/login.aspx" method="POST" port="443" multipart="NO" userAgent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)" resolveurl="YES" redirect="YES">
<cfhttpparam type="Header" name="Accept-Encoding" Value="*">
<cfhttpparam type="Header" name="TE" value="deflate;q=0">
<cfhttpparam type="Formfield" name="password" value="XXX">
<cfhttpparam type="Formfield" name="email" value="XXXX">
</cfhttp>
Pls help
thanks!
