So I had an idea that I wanted to make a game where you can change the name and description of my game through api and when I run this:
game.ReplicatedStorage.changer.OnServerEvent:Connect(function(plr, name, desc) local HttpService = game:GetService('HttpService') local api = 'https://www.roblox.com/places/3523525018/update' local Parameters = { ["__RequestVerificationToken"] = "nope", ["Name"] = name, ["Description"] = desc } local data = "" for k,v in pairs(Parameters) do data = data .. ("&%s=%s"):format( HttpService:UrlEncode(k), HttpService:UrlEncode(v) ) end data = data:sub(2) local response = HttpService:PostAsync(api, data, Enum.HttpContentType.ApplicationUrlEncoded, false) end)
it doesn't work, It says Trust check failed. If it's roblox's api can I just make an iFrame?