I'm trying to use the POST command to post data to my web server:
Code: Select all
on mouseUp ask password "login:" with "your password" titled "System Password" put "password=" into tData put it after tData post tData to URL "http://mywebsite.com/login" answer "the result is '"&the result&"'" end mouseUp
1) the password is not encrypted on the iPad (though it is on the PC). I thought this was due to the SSL not being included, but now I'm not sure.
2) the return code seems to be failing on the iPad.
If run from my Mac, the answer dialogue appears saying:
the result is 'error 405 Method Not Allowed'
(this is expected because I haven't configured my server to respond to that url yet).
However, if run from the iPad simulator I can see the request hitting the server, but the dialogue box says:
the result is''
The dictionary entry for "post" mentions the 'Internet library' for desktops, but doesn't mention anything for the iOS or Mobile version.
Is this another interface where iOS devices get a custom handler?