RE: XMLHttpRequest from JavaScript to LC Server

2019-01-13 Thread Ralph DiMola via use-livecode
Example LC server script and Html page==> https://www.dropbox.com/sh/7r1fsip3aa2bgfv/AAAW_wNEkBu9-wNjTMah3bNOa?dl=0 I cleaned it up a bit and removed debugging code. In the end it's deceptively simple but there was a fair amount of scratching-and-sniffing along the way. I commented the

Re: XMLHttpRequest from JavaScript to LC Server

2019-01-13 Thread Matthias Rebbe via use-livecode
Yes, please post the examples. Regards, Matthias Matthias Rebbe free tools for Livecoders: https://instamaker.dermattes.de https://winsignhelper.dermattes.de > Am 13.01.2019 um 00:25 schrieb Ralph DiMola via use-livecode

Re: XMLHttpRequest from JavaScript to LC Server

2019-01-12 Thread Mark Wieder via use-livecode
On 1/12/19 3:25 PM, Ralph DiMola via use-livecode wrote: 2) Cross Domain==>CORS policy satisfied. This allows you field LC Server requests from a different domain. You can choose what domains to accept requests from to maintain server security. let me know if this is of interest to anyone.

XMLHttpRequest from JavaScript to LC Server

2019-01-12 Thread Ralph DiMola via use-livecode
I have real-time "XMLHttpRequest"s in JavaScript from an html page to LC Server working. One can then call their favorite LC functions from a webpage(auto fill/ predictive search for example) instead of re-writing them in JavaScript. The webpage can be on a different server domain. Here's what I