I'm trying to get the content of a text file using the Ajax plugin and the file is in my google Drive. I do the Request of the link but it always fails.
I'm afraid this might have to due with the cross-domain request restriction mentioned in the AJAX manual article.
Kyatric
Isn't there any way of doing it? If I store my app on my google drive and try? Would work? Because they are at the same domain.
Generally the safest way is to include your file as a project file in your capx.
Otherwise you need to have the server your file is located on specifically set up to allow cross domain ajax requests. Which is exactly what the manual entry describes.
Well, I'm using FileChooser Object. It works but some characters is not loading, like ç , ~ and so on which is non english characters. How can I solve this?
but some characters is not loading, like ç , ~ and so on which is non english characters...
try to save your text file with UTF-8 Encoding
Develop games in your browser. Powerful, performant & highly capable.
> but some characters is not loading, like ç , ~ and so on which is non english characters... > try to save your text file with UTF-8 Encoding
> but some characters is not loading, like ç , ~ and so on which is non english characters...
>
Thank you.