I am having a weird response to one of my API calls, all my other calls work with my API key so I know it isn’t an authentication problem, but whenever I run my script, it outputs a blank line. No error or anything, just nothing.
By default, system.net.httpGet should throw an exception if it receives a non-200 response… Is it possible that the request is succeeding but there is simply nothing in the response body?
You might try using something like curl or Postman to issue the request and inspect the response. Additionally, if you need more granular control, you might also look toward our system.net.httpClient interfaces for making web requests.
Not full on deprecated, but system.net.httpClient is a significantly better implementation in all regards. If you are writing new code you should use it.
OK, I’m curious if you don’t mind sharing, what’s the end goal for pulling in data from Destiny servers? Trying to build some performance dashboards? Just wasn’t expecting to see Bungie servers in Ignition haha.
More or less, over the years there’s been a couple of different sites that have tried to build a score aggregation system grouped by clans where you can compete in various in-game events for the highest aggregate score, unfortunately, they all get shut down usually for the cost of the services or the time it takes to maintain, so I am just trying my hand at bringing that back, using Ignition Maker. https://d2clanwars.com/data/perspective/client/Destiny-2-Clan-Wars/standings