Post to URL no result

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Post to URL no result

Post by JosepM » Sat May 07, 2011 8:14 pm

Hi,

I trying this code but I haven't any result... what is wrong? On desktop work.

on mouseUp

put empty into field "resultat"
libURLSetSSLVerification false
--set httpHeaders to "Content-type: application/x-www-form-urlencoded" & cr
get libURLFormData("ID",45)
put it into tpost
answer tpost
post tpost to URL "https://www.mydomain.com/info-customer.php"
answer the result
put it into field "resultat"

end mouseUp

Salut,
Josep

Klaus
Posts: 14182
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Post to URL no result

Post by Klaus » Sun May 08, 2011 10:27 am

Hi Joseph,

from the iOS Release Notes!
...
Note that the iOS engine does not support libUrl,
...
"libURLSetSSLVerification" is part of "LibURL" so I guess this is not yet supported on iOS.


Best

Klaus

JosepM
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 344
Joined: Tue Jul 20, 2010 12:40 pm

Re: Post to URL no result

Post by JosepM » Mon May 09, 2011 12:40 pm

Hi Klaus,

You are right. Now is working fine.

Salut,
Josep

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Post to URL no result

Post by teacherguy » Sat Jan 21, 2012 6:41 pm

Klaus wrote:Hi Joseph,

from the iOS Release Notes!
...
Note that the iOS engine does not support libUrl,
...
"libURLSetSSLVerification" is part of "LibURL" so I guess this is not yet supported on iOS.


Best

Klaus
Thanks for this... built the ios post string manually rather than using librul and all is well.

Post Reply