AW: post,get,etc Jason to URL on android

Otto Kowalski kowalskiotto+lc at googlemail.com
Fri Jul 5 10:34:17 EDT 2013


   put "https://xxx.dyndns.org:1337/api/login" into vUrl
   set  the httpHeaders to vHeader
   #answer vHeader
   #answer vBody
   #answer vUrl
   post vBody to url vUrl
   put the result && it into vAnswer
   put vAnswer into fld "getErgebnis"

result is successful login on windows
result is on android: "javax.net.ss.SSLHandshakeException:
java.security.cert.CertPathValidatorException: Trust anchor for
certification path not found.

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Andrew Kluthe
Gesendet: Freitag, 5. Juli 2013 15:31
An: How to use LiveCode
Betreff: Re: post,get,etc Jason to URL on android

I was a little inebriated when I posted this last night. I missed the part
about the mobile. I know that some of the url commands operate differently
on mobile than on the desktop and I don't have much experience there.

Maybe try looking for "the result" variable instead of "it" on mobile?

put the result into eUrl



On Fri, Jul 5, 2013 at 2:14 AM, Otto Kowalski <
kowalskiotto+lc at googlemail.com> wrote:

> ---------- Forwarded message ----------
> From: Otto Kowalski <kowalskiotto at gmail.com>
> Date: 2013/7/5
> Subject: Re: post,get,etc Jason to URL on android
> To: How to use LiveCode <use-livecode at lists.runrev.com>
>
>
> i put
> libUrlSetSSLVerification false
> before post url and now i'm not even getting an empty answer :/
>
>
> 2013/7/5 Andrew Kluthe <andrew at ctech.me>
>
> > Sounds like you need to:
> >
> >
> > libUrlSetSSLVerification false
> >
> >
> >
> >
> > On Thu, Jul 4, 2013 at 3:02 PM, Otto Kowalski <
> > kowalskiotto+lc at googlemail.com> wrote:
> >
> > > Subject: post,get,etc Jason to URL on android
> > > To: use-livecode at lists.runrev.com
> > >
> > >
> > > hi guys, i try to develop a mobile app for android/ios using the 
> > > apis
> of
> > a
> > > web application.
> > > it expects a Login like this:
> > >
> > > {
> > >
> > > "username":"xx","password":"yy"
> > >
> > > }
> > >
> > >
> > > i already set the http Header to application/json and it works in 
> > > the ide...
> > > but it Shows no function on android/ empty Response.
> > >
> > > vBody is the Jason abpve and URL the url
> > >
> > > *post* vBody to url vUrl
> > >
> > > *put* it into eUrl
> > >
> > > *answer* eUrl
> > >
> > > would be glad if someone could Point me into the right direction
> > > --
> > >  Otto Kowalski
> > > _______________________________________________
> > > use-livecode mailing list
> > > use-livecode at lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your 
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> >
> >
> >
> > --
> > Regards,
> >
> > Andrew Kluthe
> > andrew at ctech.me
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
>
> --
> Otto Kowalski, Am Nitzelbach 11, 35108 Allendorf (Eder), Telefon:
> 06452/2059726
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



--
Regards,

Andrew Kluthe
andrew at ctech.me
_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list