Changes for page 2 Script
Last modified by Devin Chen on 2026/03/10 10:53
From version 12.4
edited by Devin Chen
on 2026/03/05 14:29
on 2026/03/05 14:29
Change comment:
There is no comment for this version
To version 17.1
edited by Devin Chen
on 2026/03/05 15:30
on 2026/03/05 15:30
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1947,7 +1947,7 @@ 1947 1947 1948 1948 Google Apps Script Demo 1949 1949 1950 -{{code language=" none"}}1950 +{{code language="JavaScript"}} 1951 1951 /** 1952 1952 * Handles POST requests: parses JSON data, writes it to the sheet with timestamp 1953 1953 * Expected JSON format: { ... ... @@ -2000,11 +2000,19 @@ 2000 2000 // 7. Return success response 2001 2001 return ContentService.createTextOutput('Success: Data written to Google Sheets'); 2002 2002 } 2003 - 2004 -/** 2005 - * Handles GET requests (optional, for testing) 2006 - */ 2007 -function doGet(e) { 2008 - return ContentService.createTextOutput('This endpoint accepts POST requests only. Please use POST with JSON data.'); 2009 -} 2010 2010 {{/code}} 2004 + 2005 +(% style="text-align:center" %) 2006 +[[image:PixPin_2026-03-05_14-40-27.png]] 2007 + 2008 +1.5 Click "Deploy" to make a new deployment. Select the 'Web APP' type, set the user permissions, and complete the deployment of the script. 2009 + 2010 +(% style="text-align:center" %) 2011 +[[image:3W00uSwkVQ1.png]] 2012 + 2013 +1.6 In the 'Manage deployments' interface, obtain the URL of the web app. 2014 + 2015 +(% style="text-align:center" %) 2016 +[[image:HoLYu2nzvq.png]] 2017 + 2018 +
- 3W00uSwkVQ1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +140.1 KB - Content
- Doa6Qhp4bS.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +139.2 KB - Content
- HoLYu2nzvq.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +136.6 KB - Content
- PixPin_2026-03-05_14-40-27.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.DevinChen - Size
-
... ... @@ -1,0 +1,1 @@ 1 +154.8 KB - Content