33. LuaからHTTPリクエスト
TOSHIBA x GUGEN FlashAir Hackathon
33
result = fa.HTTPGetFile(
"https://flashair-developers.com/
images/assets/flashairLogo_office
ial_small.png", "logo.png")
if result ~= nil then
print("Success! File downloaded.n")
--process the file
else
print("Failure! File failed to download...n")
end
リクエスト実行
結果はファイル
に保存されます