local HttpService = game:GetService("HttpService")
local board = "snip"
local token = "snip"
local key = "snip"
game:GetService("Players").PlayerAdded:connect(function(player)
local GetList = HttpService:GetAsync("https://api.trello.com/1/boards/" .. board .."/lists?key=" .. key .. "&token=" .. token, true)
local TableList = HttpService:JSONDecode(GetList)
for _,list in pairs(TableList) do
if list['name'] == "Ban List" then
print'yeet'
end
end
end)
I run this with all the correct information but it keeps saying "HTTP 401 (HTTP/1.1 401 Unauthorized)". Could anyone help with this?
