Hello, I am trying to see if I can view inventory it and it comes up with this error: httpservice is not allowed to access roblox resources
I am not sure I this is happening here is my code:
local HttpService = game:GetService("HttpService")
local URL = "https://inventory.roblox.com/v1/users/436372211/can-view-inventory"
local response = HttpService:GetAsync(URL)
local data = HttpService:JSONDecode(response)
print(data)
A proxy is some software hosted on the backend of a web-server that forwards requests from the URL you access to a target URL.
Instead of accessing https://inventory.roblox.com, you might access a proxy someone hosted at https://inventory.someproxy.com.
A good proxy for the ROBLOX API I use is roproxy. Instead of accessing https://inventory.roblox.com/v1/users/436372211/can-view-inventory, simply access https://inventory.roproxy.com/v1/users/436372211/can-view-inventory.