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