Hello there! My API website is working fine, but when I try to make a request it via LUA 5.3 (FiveM), i get nil result and 0 error code. I do not understand why on my browser I get the correct result, and when I try to request it via FiveM, I get nil…
Site: https://api.ultimate-ac.xyz
LUA Code:
PerformHttpRequest(“https://api.ultimate-ac.xyz”, function(errCode, result, headers) – Request with GET Method.
print((“Result: %s”):format(result))
end)
I understand… I am using repl.it for now, but when I try to make a Request on FiveM using this link: https://api.d3steptu.repl.co, I am getting the correct output in console: https://imgur.com/0qkOYeE