#lua #github-api #roblox
Вопрос:
local githubDatas = {
["message"] = playerName .. "(" .. playerID .. ")",
["content"] = base64(Log.Value),
--["branch"] = "logs"
}
local hubResult = game:GetService("HttpService"):RequestAsync({Url = "https://github.com/api/v3/repos/eattato/LogsTotal/contents" .. playerName .. "(" .. playerID .. ").txt", Method = "PUT", Headers = {["authorization"] = "token TOKEN WAS HERE",["Content-Type"] = "application/json"}, Body = game:GetService("HttpService"):JSONEncode(githubDatas)})
но он выводит ошибку HTTPError: curl:18, Передал частичный файл
как я могу это исправить?