Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
CURL - what am I doing wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CURL - what am I doing wrong?



I am trying to download a page using form data with CURL and getting no result.
The page with the form is in this address:
https://efile.boe.ca.gov/boewebservices/verification.jsp


The code of the form itself, condensed, is this:

<FORM name="verification" METHOD="POST"
ACTION="/boewebservices/servlet/BOEVerification">
<input type="radio" name="type" value="SALES" checked>Radio 1 text
<input type="radio" name="type" value="CIGARETTE LICENSE" >Radio 2 text
<input type="radio" name="type" value="E-WASTE LICENSE" >Radio 3 text
<INPUT NAME="account" tabindex="1" maxlength="9" size="11">
<INPUT TYPE="Submit" NAME="Submit" VALUE="Submit Request">
<INPUT TYPE="Reset" NAME="Reset" VALUE="Clear Request">
</FORM>

Here is the CURL command I am trying to run:
curl "https://efile.boe.ca.gov/boewebservices/servlet/ BOEVerification" --output "/temp.htm" -d "account=12121212&type=SALES&button=Submit" | vis


I took the url from the original domain along with the action specified in the form.
I built the form data (-d) string form the form parameters.
I get nothin'
The page should say that the number is invalid.


Any ideas?

Thanks!!
Hanaan
_______________________________________________
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




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.