Script:
local HttpService = game:GetService("HttpService")
local UniverseId = HttpService:GetAsync("http://api.roproxy.com/universes/get-universe-containing-place?placeid="..game.PlaceId)
local response = HttpService:RequestAsync({
Url = "http://games.roproxy.com/v1/games/votes?universeIds="..UniverseId,
Method = "GET"
})
if response.Success then
local votes = HttpService:JSONDecode(response.Body)
print("upVotes:", votes.data[1].upVotes)
end
Error: HttpError: InvalidRedirect
I don’t understand what the issue is.