Re: CURL - what am I doing wrong?
Re: CURL - what am I doing wrong?
- Subject: Re: CURL - what am I doing wrong?
- From: Hanaan Rosenthal <email@hidden>
- Date: Thu, 1 Dec 2005 10:25:27 -0500
Steve,
Thanks so much for looking into it.
The result is the same page with the form on it instead of the page
with the final answer (Valid/Not valid...)
My guess is that they have some form element in a comment that
doesn't show on the HTML source, but is required for successful
submission of the form.
If there are any other ideas out there I would love to hear.
This is not for a paying client, at this point it's just a battle to
get the result and help someone out, and the other side's server
seems to be winning :-(
Thanks,
Hanaan
On Dec 1, 2005, at 9:47 AM, Steve Hayman wrote:
Hi Hanaan. I took a look with "curl -v" to see more detail of the
conversation with the server - the response from the server has a
302 "Moved Temporarily" in it (with a redirection URL). Try it
with "curl -v ...." and you'll see
HTTP/1.1 302 Moved Temporarily
Location: https://efile.boe.ca.gov/boewebservices/
verification_results.jsp
in the output.
To get curl to follow these redirects, use a -L. You might try
curl -L "https://efile.boe.ca.gov/boewebservices/servlet/
BOEVerification" --output "/temp.htm" -d
"account=12121212&type=SALES&button=Submit"
No idea whether the output makes sense but at least this way you
get something in /temp.htm .
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden