Why does
game.HttpService:GetAsync("https://devforum.roproxy.com/topics/created-by/lostresosostedyiii.json")
give an HttpError: InvalidRedirect error, but when visiting the URL in a browser gives NO errors?
Why does
game.HttpService:GetAsync("https://devforum.roproxy.com/topics/created-by/lostresosostedyiii.json")
give an HttpError: InvalidRedirect error, but when visiting the URL in a browser gives NO errors?
What are you trying to achieve? I tried this script and it returns the headers.
local HttpService = game:GetService("HttpService")
local url = "https://devforum.roproxy.com/u/lostresosostedyiii.json"
local success, response = pcall(function()
return HttpService:GetAsync(url)
end)
if success then
print("Response:", response)
else
warn("Error:", response)
end
Sorry, I placed the wrong URL on the post. It is now updated.