Hello, I am trying to make a game that is using roproxy and I added SortType parameter with the value 3, which must sort the items from new to old. But, it instead gives the Warm Pretzel Back Snacker which is not related at all.
But when I go to the link, it gives the correct result??
Here’s how I send the GET request:
local url = "http://catalog.roproxy.com/v2/search/items/details/?category=All&includeNotForSale=true&SortType=3&limit=120"
local success,err = pcall(function()
req = httpService:GetAsync(url)
end)
if err then warn("error occured: "..err); task.wait(30); continue; end
It always returns the response without parameters.
Its same on the game’s servers.
local url = "https://catalog.roproxy.com/v2/search/items/details/?category=All&includeNotForSale=true&SortType=3&limit=120"
to this:
local url = "https://catalog.roproxy.com/v2/search/items/details?category=All&includeNotForSale=true&SortType=3&limit=120"
I did a mistake on the url and added a slash before the parameters. It does not work if you do details/?category=All, it does not send the parameters. I changed it to details?category=All which is the correct format.