http_get on HTML5 export

L

LoF

Guest
Hello,
I'm experiencing an issue trying to get http_get to work on HTML5 platform. When I export my project to desktop (Windows), everything works fine. Once the game is executed in html5 mode, no http_ requests are working.

I've tried both running html5 version on a local webserver and uploading it to a live website.
Reading the manual, there are no limitations mentioned.
A pointer how to solve this would be appreciated, using 1.4.99
 

True Valhalla

Full-Time Developer
GMC Elder
What does your browser Console show in the Networking tab? You should be able to see individual requests & check the error response.
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
If the URL is not on the same server, you are probably hitting CORS and will need to do some configuration work.
 
  • Like
Reactions: LoF
L

LoF

Guest
As suggested by yal, CORS was the problem. Once I've uploaded project to the same domain as the fetcher is on, everything worked fine.
 
Top