Skip to content

Instantly share code, notes, and snippets.

@Apearson75
Created October 27, 2022 11:36
Show Gist options
  • Save Apearson75/8faf78f3fd9a7df6bdea8ed5a8be369b to your computer and use it in GitHub Desktop.
Save Apearson75/8faf78f3fd9a7df6bdea8ed5a8be369b to your computer and use it in GitHub Desktop.
Http requests from devtools to roblox
// Must be run in the devtools on the roblox website
// Getting data from Roblox API
async function GetRobloxAPI(url){
const urlConfig = {
url: url,
withCredentials: true,
};
return await CoreUtilities.httpService.get(urlConfig);
};
// const data = await GetRobloxAPI("https://trades.roblox.com/v1/trades/inbound/count");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment