local h = game:GetService("HttpService")
local url = "https://rproxy.tk/catalog/json?Subcategory=9&SortType=3&ResultsPerPage=10&PageNumber=1"
local assets = h:JSONDecode(h:GetAsync(url))
for _,v in pairs(assets) do print(v.Name) end

I'm learning how to use HttpService, but I'm getting an error whenever I try the above code.

• HttpService is enabled.

• I'm running it on a server.

Output:

20:37:27.729 - https://rproxy.tk/catalog/json?Subcategory=9&SortType=3&ResultsPerPage=10&PageNumber=1: err=0xFFFFFB4E (-1202)

20:37:27.730 - Script 'Workspace.Script', Line 3

20:37:27.730 - Stack End

1 comment

0

You should just be able to print "assets" without the loop..