Question about HTML5 and accessing urls
terry.judd at unimelb.edu.au
Tue Mar 27 03:20:45 CEST 2018
I’ve just done a quick test using the community version of LC 9.0.0 (rc-1) and my own version of a dropbox library and it seems to upload and download data just fine when I use the ‘test’ option in the IDE to launch it in a browser. My question is, will this still work once I serve the ‘app’ up from a real server given that it and dropbox are occupying different domains? I seem to recall something about url access being restricted but wasn’t sure what the actual implications of that were.
As an extra thing – even though it appears to be supported, I wasn’t able to add and use LC’s JSON Library (for parsing the response from dropbox) to my basic test app as it immediately throws and exception. Any ideas on what might be going on there? I’ve switched to a script-based jsonToArray routine that I picked up from the forum (fastJson), which seems to work really well, in the meantime.
More information about the use-livecode