Sometimes I get this http error called “Internal error” from roblox domain sites so to handle this i do this
local HttpService = game:GetService("HttpService")
local function Request(URL)
return HttpService:GetAsync(URL, true)
end
local URL = "example.com"
local Boolean, Response = pcall(Request, URL)
if not Boolean then
warn(Response)
repeat
Boolean, Response = pcall(Request, URL)
until not Boolean
end
print(Response)
I just want to know if it is the correct way to handle them, thanks (it seems to work but should I)