Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Way to get AssetVersionID from HttpService GET request?

Asked by 4 years ago

Would there be a way to do this?

code sample cuz not request, genuine question about service

1local Http = game:GetService("HttpService")
2 
3Http:GetAsync("asset id plugin thingy link")

1 answer

Log in to vote
2
Answered by 4 years ago

Yes, quite simple infact:

First, lets make a function to bypass the roblox website HttpService block using rprxy.xyz:

1local function CreateProxy(STR)
2   return STR = STR:gsub("roblox.com", "rprxy.xyz") -- makes sure it requests through proxy.
3end

Next we'll make the main part of the script:

1local HttpService = game:GetService("HttpService")
3 
4-- replace AssetVAIDL variable with your assetID
5 
6HttpService:GetAsync(AssetVAIDL)

Full Script:

1local function CreateProxy(STR)
2   return STR = STR:gsub("roblox.com", "rprxy.xyz") -- makes sure it requests through proxy.
3end
4 
5local HttpService = game:GetService("HttpService")
7 
8HttpService:GetAsync(AssetVAIDL)
0
Thanks. GoreDemons 215 — 4y
Ad

Answer this question