I have a solid understanding of how AJAX works. My question is to get help eliminating road blocks I have overlooked; right now AJAX is returning error.
Here's what my event attempting to "read" a text file looks like:
Button: On Clicked ---> AJAX: Request "http://fileLocation/textfile.txt
AJAX: On completed ---> requestStatus.text: Set text to AJAX.LastData
AJAX: On error --------> requestStatus.txt: Set text to error
- I do have do CORS authorization on my web server
My web server is php enabled if that helps out.
Any thoughts? Thank you in advance for any help :)
The URL you mentioned uses http: instead of https:, so I assume the "Use HTTPS" section of the AJAX manual entry applies.
Develop games in your browser. Powerful, performant & highly capable.
I meant to include "https", but the issue ended up being the SSL certificate wasn't properly configured. Thanks for the reply :D