• 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!

http_request

  1. Diegovz01

    HTML5 http_request not working anymore on HTML5 Target GMS2

    Hi, I'm trying to make a post request to a json api with the following code in GameMaker 2 html5 target. Create event of object: Asyc http event: Unfortunately I got the following error: This only happens with HTML5 target export, when on Windows it works just fine. Also the weird...
  2. F

    GameMaker http_request not sending a GET method

    Hello, I'm trying to send a GET request with http_request, but it sends a POST. I've wrote this in create: var url, headers, data; url = "http://localhost:3000/"; headers = ds_map_create(); data = ds_map_create(); req = http_request(url, "GET", headers, json_encode(data))...
  3. R

    http_request causes memory leak ( probably my fault )

    I'm using http_request for account logins from GMS2 and http_get to poll my SQL database for character locations, equipped items, etc. The database gets http_get'ed every alarm[0] = 30 ( twice a second ). I've adjusted this to once per second but noticed that my RAM gets utterly pummeled this...
  4. N

    Windows Http_requests fail after the first three sites

    So i'm only able to load three sites at a time before all responses fail, even if i re request them, or putting them on a clock incase it was a site prevention from ddos'. but no matter what i try i cant seem to get more then 3 items to load, maybe 4 very rarely if i'm remembering correctly. The...
  5. N

    [SOLVED]Http asynchronous event to display data from a json file

    Hi!, I'm pretty new to http requests. Please I need help understanding what goes into the http asynchronous event when I went to retrieve the information from a JSON file and show players when they click on the leaderboard button. I am using dreamloo for my leaderboards I check if the...
  6. JPDamstra

    GameMaker HTTP Requests and Responses

    GM Version: GameMaker Studio 2 Target Platform: ALL Download: Part 1 Project Files Part 2 Project Files Links: What's an API? http_request (GM Manual) Summary: When developing a smash-hit game, there are a multitude of resources out there to give you the edge you might need to stand out. In...
  7. Adam Coster

     Suggestion: Additional http GET functions for binary data

    With the http_request() function it's possible to implement a generic API client to handle just about anything, which is great. There is one exception: retrieving binary data. All obtained data gets converted into a string, so that any null bytes truncate the result. One solution to this would...
  8. The-any-Key

    GML (SOLVED) Upload file via http_request and PHP.

    I am trying to upload a image file to a webserver via http_request. According to the helpfiles I should be able to upload a binary buffer by set it as the data. But after about 15 seconds I just get a timeout error from GM: "http request took to long". (I tested to just send a empty string and...
  9. F

    Android http_request return a http exception

    This problem affects only Android apks, the GM STUDIO version is the last stable (1.4.1763) i'm working to a commercial project that use a MongoDB database When i try to send post calls to MongoDB using RESTful apis on Android, the game return a http exception. I'm using an Android Emulator...
Top