Re: POST Data
Re: POST Data
- Subject: Re: POST Data
- From: Walter Ian Kaye <email@hidden>
- Date: Fri, 19 Sep 2003 23:10:17 -0700
At 10:02p -0700 09/19/2003, Alan Kimelman didst inscribe upon an
electronic papyrus:
Although I attempted to build an address with form fields, I do
not understand the syntax for submitting the fields in an single
long URL.
For example, in scripting Safari to enter "http://awebsite.org" ,
how would I change a form data entry from
"name=Alan&code="ABCDEFG"&pin="123456" to a single long URL?
No quotes on attribute values -- it's all one single string.
As I understand the previous messages , I could then script Safari
to open that URL with a single long URL that encompassed the form
data and bypass any requests by the web page for identification.
Conceivably... but remember this:
At 05:20p -0600 09/15/2003, Doug McNutt didst inscribe:
method=POST or method=GET and one had better use the one that's expected
A CGI is written specifically to either not care or care whether the
data comes via POST or GET (or PATH_INFO, for that matter). Some
scripts do entirely different things depending on the method: for
example, my own keymail script uses GET to present the form to fill
out, and uses POST to submit the data.
So unless the webmaster of awebsite.org tells you that you can use
GET, the only way to know is to try it; if it fails, you'll know you
need POST.
-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
References: | |
| >POST Data (From: Alan Kimelman <email@hidden>) |