Re: URL Access Scripting-Form Data
Re: URL Access Scripting-Form Data
- Subject: Re: URL Access Scripting-Form Data
- From: Doug McNutt <email@hidden>
- Date: Wed, 4 Sep 2002 11:42:57 -0600
At 12:08 -0500 9/4/02, ken wrote:
>
Hi all! I am taking my first plunge into URL Access Scripting and
>
have hit a wall
Welcome to the club of confused people.
URL access attempts to do a POST request with the data given using the form data item in its dictionary. Your CGI needs to look at POSTed data if you do that but others have complained about POST being broken in URL Access. Actually it works for me with OS 9.2 but I don't work it very hard. You specify a POST with the method item in the <FORM> tag.
If you want to use the GET method you need to code the string into the URL yourself. That's the ?name=value&anothername=anothervalue . . . syntax appended to the URL. My experience is that you can use & and = without doing the URL encoding thing.
ftp://ftp.macnauchtan.com/SMMUG/Get_SMMUG_news_four.bin
contains some sample code I used in a recent talk.
--
Applescript syntax is like English spelling:
Roughly, but not thoroughly, thought through.
_______________________________________________
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.