title: ColdFusion CFHTTP Post to remote form does not return the results page, it just returns the input form
body: <p>I am using ColdFusion 8.  I am trying to use CFHTTP Post to submit the form at this page without a user having to enter the number and click Submit.  <a href="https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES" rel="nofollow noreferrer">https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES</a></p>
  
  <p>I've done with before with other forms, it's usually not a problem.  </p>
  
  <p>Here's my code:</p>
  
  <pre><code>&lt;cfhttp url="https://testefile.boe.ca.gov/boewebservices/servlet/BOEVerification" method="POST" port="443" resolveurl="yes" redirect="yes"&gt;
  &lt;cfhttpparam type="FORMFIELD" name="type" value="SALES"&gt;
  &lt;cfhttpparam type="FORMFIELD" name="account" value="10003"&gt;
  &lt;cfhttpparam type="FORMFIELD" name="Submit" value="Submit+Request"&gt;
  &lt;/cfhttp&gt;
  
  &lt;Cfoutput&gt;#cfhttp.fileContent#&lt;/CFOUTPUT&gt;
  
  &lt;cfdump var="#cfhttp#"&gt;
  </code></pre>
  
  <p>If you try the form manually, and enter account number 10003, it returns a results page <a href="https://testefile.boe.ca.gov/boewebservices/verification_results.jsp" rel="nofollow noreferrer">https://testefile.boe.ca.gov/boewebservices/verification_results.jsp</a> </p>
  
  <p>But when I use CFHTTP Post, it just returns the input page <a href="https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES" rel="nofollow noreferrer">https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES</a></p>
  
  <p>One of their developers made a Java page to do the same thing I'm trying to do, and it worked.   Unfortunately, I don't know Java.</p>
  
  <p>thanks,</p>
  
  <p>Rich</p>