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. https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES
I've done with before with other forms, it's usually not a problem.
Here's my code:
<cfhttp url="https://testefile.boe.ca.gov/boewebservices/servlet/BOEVerification" method="POST" port="443" resolveurl="yes" redirect="yes">
<cfhttpparam type="FORMFIELD" name="type" value="SALES">
<cfhttpparam type="FORMFIELD" name="account" value="10003">
<cfhttpparam type="FORMFIELD" name="Submit" value="Submit+Request">
</cfhttp>
<Cfoutput>#cfhttp.fileContent#</CFOUTPUT>
<cfdump var="#cfhttp#">
If you try the form manually, and enter account number 10003, it returns a results page https://testefile.boe.ca.gov/boewebservices/verification_results.jsp
But when I use CFHTTP Post, it just returns the input page https://testefile.boe.ca.gov/boewebservices/verification.jsp?action=SALES
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.
thanks,
Rich