Trust failed: HttpService Error

I wanted to get all properties of instance. I found this: Get properties of an object

Here is my code (it returns ‘http://setup.roblox.com/versionQTStudio: Trust check failed’ error):

local studioVersion = game:GetService("HttpService"):GetAsync("http://setup.roblox.com/versionQTStudio")
local httpResult = game:GetService("HttpService"):GetAsync("http://setup.roblox.com/"..studioVersion.."-API-Dump.json")
print(httpResult)

How can I fix it / get all properties of instance?

1 Like

You can’t use roblox.com apis on Roblox, change roblox.com to rprxy.xyz as you need to use a proxy

local studioVersion = game:GetService("HttpService"):GetAsync("http://setup.rprxy.xyz/versionQTStudio")
local httpResult = game:GetService("HttpService"):GetAsync("http://setup.rprxy.xyz/"..studioVersion.."-API-Dump.json")
print(httpResult)
1 Like

It works but returns a little messy thing. How would I go about reading properties from httpResult?

You turn it into a lua table using :JSONDecode:

local HttpService = game:GetService("HttpService")
local studioVersion = HttpService:GetAsync("http://setup.rprxy.xyz/versionQTStudio")
local httpResult = HttpService:JSONDecode(HttpService:GetAsync("http://setup.rprxy.xyz/"..studioVersion.."-API-Dump.json"))