I am trying to get cfhttp to retrive an html page or an xml page that is on a remote server. Every time I try I get the message that the xml file cannot be displayed: connection failed.
This is the code I have used.
<!--- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">--->
<CFHTTP URL=" METHOD="GET"
USERNAME="ChrisB"
PASSWORD="chris"
RESOLVEURL="false"
PROXYSERVER="proxy.blackpool.gov.uk"
PORT="5432"
TIMEOUT="30"></cfhttp>
<html>
<head>
<title>getXML.cfm</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<cfoutput>done...........cfoutput>#cfhttp.statuscode#</cfoutput>
<cfoutput>#CFHTTP.FileContent#</cfoutput>
<iframe src="</body>
</html>
I am sure I am doing this in the right way but it just doesn't work.
Any ideas would be greatly appreciated!
This is the code I have used.
<!--- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">--->
<CFHTTP URL=" METHOD="GET"
USERNAME="ChrisB"
PASSWORD="chris"
RESOLVEURL="false"
PROXYSERVER="proxy.blackpool.gov.uk"
PORT="5432"
TIMEOUT="30"></cfhttp>
<html>
<head>
<title>getXML.cfm</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<cfoutput>done...........cfoutput>#cfhttp.statuscode#</cfoutput>
<cfoutput>#CFHTTP.FileContent#</cfoutput>
<iframe src="</body>
</html>
I am sure I am doing this in the right way but it just doesn't work.
Any ideas would be greatly appreciated!