For some reason, I’m trying to use the Trello API but I keep getting this error.
18:39:11.475 - HTTP 401 (Unauthorized)
How do I fix this?
local TrelloAPI = {}
local HTTPService = game:GetService("HttpService")
function TrelloAPI:GetBoard(boardId)
local JSON = HTTPService:GetAsync("https://api.trello.com/1/boards/"..boardId)
local DecodedData = HTTPService:JSONDecode(JSON)
return DecodedData.name
end
return TrelloAPI