I am using an example straight out of the Advanced book of CF.
I want to do a CFHTTP POST and post data to a form.

However using the exmaple shown below, I get a HTTP 404 Error.
Both files reside in the same directory. I have checked and re-checked
the spelling of the files.

Any idea whats wrong?

THIS IS CFHTTP_5.CFM

<cfhttp url="http://test.fss.gsa.gov:81/sales/cfhttp_6.cfm" method="POST">
 <cfhttpparam name="form_test" type="formfield" value="1">
 <cfhttpparam type="URL" name="url_test" value="2">
 <cfhttpparam type="CGI" name="cgi_test" value="3">
 <cfhttpparam type="COOKIE" name="cookie_test" value="4">
</cfhttp>

<cfoutput>#cfhttp.filecontent#</cfoutput>


THIS IS CFHTTP_6.CFM

<html>
<head>
<title>CFHTTP Post Test</title>
</head>

<body>
The following was posted via cfhttp_5.cfm<br>
<br>
<br>
<cfoutput>
Form: #form.form_test#<br>
URL: #url.url_test#<br>
Cookie: #cookie.cookie_test#
CGI: #cgi.cgi_test#

</cfoutput>
</body>
</html>

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to