Skip to content

Instantly share code, notes, and snippets.

View moorthy6369's full-sized avatar
💭
nothing

GRM STUDIO moorthy6369

💭
nothing
View GitHub Profile
@moorthy6369
moorthy6369 / Code.gs
Created January 17, 2023 04:28 — forked from ex-preman/Code.gs
CRUD Using Google Apps Script
function doGet(e) {
Logger.log(e);
var op = e.parameter.action;
var ss = SpreadsheetApp.open(DriveApp.getFileById("YOUR_SPREADSHEET_ID"));
var sn = "YOUR_SHEET_NAME";
var sheet = ss.getSheetByName(sn);
if (op == "insert")
return insert_value(e, sheet);