Post data using https://

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Post data using https://

Post by andyh1234 » Fri Aug 20, 2010 11:46 am

Is it possible to use the post command with urls starting with https://

I ask because it doesnt seem to be working for me!

As an example

Code: Select all

   put "http://www.myurl.com/test.irev" into tURL
   put libUrlFormData ("key", tMyKey , "user", tUserName, "device", tDevice, "syncID", tSync) into tData
   post tData to URL tURL
   put it into tResult
on the server itself I simply have a small iRev page to send me back the buffer so I can see what has been posted.

Code: Select all

<h1>Test Post</h1>
<?rev
put "Post buffer contains: " & $_POST_RAW
?>
The above works fine with a http:// start to the url, but if I change it to https:// to send the request in what I would imagine to be a secure way, the server does not get the data ($_POST_RAW is empty).

Andy

Peter Wood
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Mon Jul 06, 2009 4:53 am

Re: Post data using https://

Post by Peter Wood » Mon Aug 23, 2010 12:05 am

Which version of Revolution are you using? I believe only the Enterprise version includes support for the HTTPS protocol.

andyh1234
Posts: 476
Joined: Mon Aug 13, 2007 4:44 pm
Contact:

Re: Post data using https://

Post by andyh1234 » Mon Aug 23, 2010 2:17 pm

Im using the enterprise version, build 4.0

Ill try the 4.5dp3 release and see if that helps, although I prefer to work with the gm release for software that hits users.

Thanks

Andy

Post Reply