• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

SOLVED [GMSTUDIO] http_get not working - No asynchronous HTTP event triggered at all.

andev

Member
I put show_debug_message("It worked!") in the http async event but it never showed up in console.
I saw a post that said you needed to make sure the http_get wasn't in a create event but it wasn't, it was in a step event.
I googled forever and couldn't find anything, but then I discovered an old project that used http_get and it was miraculously working.

Upon investigation:
The solution is that you need to put 'https://' before the url. I'm writing this for my future self or anyone else that meets this problem.

http_get('www.google.com') for example does not work. Nothing happens. Perhaps this is obvious to some, but not to me.

Hopefully this helps someone (or future me! Hi!).
 
Top