Response and Error handling in Google Apps Scripts. doPost? withFailureHandler()?
问题 I hope everyone is safe and healthy given the current situation. I have a question in regards to a project with google apps script. I have a web app and I have been able to figure out routing with doGet() using links etc. //global variables const sheetId = "foo"; const Route = {}; Route.path = function(route, callback){ Route[route] = callback; } function doGet(e){ Route.path("newAccountForm",loadNewForm); Route.path("updateBrandForm", loadUpdateForm); if(Route[e.parameters.v]) { return Route