2021-03-17から1日間の記事一覧
SpreadSheetを簡易databaseにできないか SpreadSheetManagerを実装 const DEFAULT_SHEET_NAME = 'シート1'; /** * スプレッドシート管理 */ function SpreadSheetManager(targetSheetName) { const _this = this; // 初期化 const book = SpreadsheetApp.get…
function postData(data){ const res = fetch('xxx',{ method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }); return res.json(); } postData('hoge', {status:200, task:2, etc:3}).then(console.log).catch(c…