<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Webapps on tanaike - Google Apps Script, Gemini API, and Developer Tips</title>
    <link>https://tanaikech.github.io/tags/webapps/</link>
    <description>Recent content in Webapps on tanaike - Google Apps Script, Gemini API, and Developer Tips</description>
    <generator>Hugo</generator>
    <language>ja</language>
    <copyright>&amp;copy; 2026. All rights reserved.</copyright>
    <lastBuildDate>Sun, 23 Nov 2025 11:52:54 +0900</lastBuildDate>
    <atom:link href="https://tanaikech.github.io/tags/webapps/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Fields Builder for Google APIs: Visualizing Partial Responses</title>
      <link>https://tanaikech.github.io/2025/11/23/fields-builder-for-google-apis-visualizing-partial-responses/</link>
      <pubDate>Sun, 23 Nov 2025 11:52:54 +0900</pubDate>
      <guid>https://tanaikech.github.io/2025/11/23/fields-builder-for-google-apis-visualizing-partial-responses/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/a83cd2487a5d93ec3e10cea43e7b96d6&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/image-storage/20251123a/demo.gif&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;abstract&#34;&gt;Abstract&lt;/h1&gt;&#xA;&lt;p&gt;Fields Builder for Google APIs is a client-side web application that streamlines constructing the &lt;code&gt;fields&lt;/code&gt; parameter. It parses Discovery documents into interactive trees, enabling developers to visually select nested resources, implement Partial Response, and optimize API payload sizes without manual syntax errors.&lt;/p&gt;&#xA;&lt;h1 id=&#34;introduction&#34;&gt;Introduction&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://sites.google.com/view/fields-builder&#34;&gt;FieldsBuilderForGoogleAPIs&lt;/a&gt;&lt;/strong&gt; is a specialized Web Application designed to streamline the construction of the &lt;code&gt;fields&lt;/code&gt; parameter for Google APIs.&lt;/p&gt;&#xA;&lt;p&gt;Since the update of the official Google API Explorer, developers have found it increasingly difficult to visually construct the &lt;code&gt;fields&lt;/code&gt; parameter. This tool bridges that gap by parsing official Discovery documents to build an interactive, navigable tree view of the response schema.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Major Update: Taking Advantage of Web Apps with Google Apps Script</title>
      <link>https://tanaikech.github.io/2025/06/24/major-update-taking-advantage-of-web-apps-with-google-apps-script/</link>
      <pubDate>Tue, 24 Jun 2025 16:26:53 +0900</pubDate>
      <guid>https://tanaikech.github.io/2025/06/24/major-update-taking-advantage-of-web-apps-with-google-apps-script/</guid>
      <description>&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/image-storage/20250624a/fig1.jpg&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;description&#34;&gt;Description&lt;/h2&gt;&#xA;&lt;p&gt;I am thrilled to announce a significant update to the &lt;a href=&#34;https://github.com/tanaikech/taking-advantage-of-Web-Apps-with-google-apps-script&#34;&gt;Taking Advantage of Web Apps with Google Apps Script&lt;/a&gt; repository! Now at Version 2.0.0, this comprehensive guide has been extensively revised and expanded to provide unparalleled insights and practical guidance for developers leveraging Google Apps Script Web Apps.&lt;/p&gt;&#xA;&lt;p&gt;This major overhaul introduces a wealth of new and enhanced content, designed to empower you with a deeper understanding and more advanced capabilities.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Inserting HTML including Javascript on Web Apps Created by Google Apps Script</title>
      <link>https://tanaikech.github.io/2023/10/25/inserting-html-including-javascript-on-web-apps-created-by-google-apps-script/</link>
      <pubDate>Wed, 25 Oct 2023 16:12:42 +0900</pubDate>
      <guid>https://tanaikech.github.io/2023/10/25/inserting-html-including-javascript-on-web-apps-created-by-google-apps-script/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/a5b5b5646b97934578fbb22ee503e6aa&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/image-storage/20231025a/fig1.gif&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;abstract&#34;&gt;Abstract&lt;/h2&gt;&#xA;&lt;p&gt;One day, you might have a situation where you are required to create a Web Apps with Google Apps Script and are required to load another HTML created by Javascript on the Web Apps. This report will help achieve such a situation.&lt;/p&gt;&#xA;&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Google Apps Script can create Web Apps. &lt;a href=&#34;https://developers.google.com/apps-script/guides/web&#34;&gt;Ref&lt;/a&gt; When you access the Web Apps using your browser, you can see the HTML. When your browser can run Javascript, you can see the HTML reflecting the Javascript. The Web Apps created by Google Apps Script is one of the important and useful cloud applications. About the Web Apps, you have a situation where it is required to insert another HTML to the current HTML. And, another HTML might be required to be created by Javascript including the HTML. However, it is difficult a little to find detailed information about this. This report introduces a simple sample script for achieving such a situation.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Executing Google Apps Script with Service Account</title>
      <link>https://tanaikech.github.io/2023/10/19/executing-google-apps-script-with-service-account/</link>
      <pubDate>Thu, 19 Oct 2023 14:59:31 +0900</pubDate>
      <guid>https://tanaikech.github.io/2023/10/19/executing-google-apps-script-with-service-account/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/304fea821ca36b8e9ccebe9814eaed82&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/image-storage/20231019a/fig2.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;abstract&#34;&gt;Abstract&lt;/h2&gt;&#xA;&lt;p&gt;One day, you might have a situation where it is required to run Google Apps Script using the service account. Unfortunately, in the current stage, Google Apps Script cannot be directly run with the service account because of the current specification. So, this report introduces a workaround for executing Google Apps Script using the service account.&lt;/p&gt;&#xA;&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;When you want to execute Google Apps Script from outside of Google, as the basic approach, it can be achieved by Google Apps Script API. &lt;a href=&#34;https://developers.google.com/apps-script/api/reference/rest/v1/scripts/run&#34;&gt;Ref&lt;/a&gt; In order to use Google Apps Script, it is required to link the Google Apps Script project with the Google Cloud Platform project. &lt;a href=&#34;https://github.com/tanaikech/Linking-Google-Cloud-Platform-Project-to-Google-Apps-Script-Project-for-New-IDE&#34;&gt;Ref&lt;/a&gt; But, in the current stage, Google Apps Script can be executed by Google Apps Script API with only the access token obtained from OAuth2. Unfortunately, the access token obtained by the service account cannot used for executing Google Apps Script using Google Apps Script API. It seems that this is the current specification on the Google side. However, there might be a case that it is required to execute Google Apps Script using the service account. In this report, I would like to introduce a workaround for executing Google Apps Script using the service account. In this workaround, the Web Apps created by Google Apps Script is used. The Web Apps can be used for executing the preserved functions of &lt;code&gt;doGet&lt;/code&gt; and &lt;code&gt;doPost&lt;/code&gt; from outside of Google. &lt;a href=&#34;https://developers.google.com/apps-script/guides/web&#34;&gt;Ref&lt;/a&gt; In this workaround, this Web Apps is used for executing the various functions.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Understanding Flow of Request to Web Apps Created by Google Apps Script</title>
      <link>https://tanaikech.github.io/2023/07/25/understanding-flow-of-request-to-web-apps-created-by-google-apps-script/</link>
      <pubDate>Tue, 25 Jul 2023 16:02:23 +0900</pubDate>
      <guid>https://tanaikech.github.io/2023/07/25/understanding-flow-of-request-to-web-apps-created-by-google-apps-script/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/131ba814a1f6012fd6a5ffe11789971f&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/image-storage/20230725a/fig1.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Here, I would like to introduce a report for understanding the flow of the request to Web Apps created by Google Apps Script. There might be a case that various applications using the Web Apps are created and the Web Apps are used as the webhook. In that case, it is considered that when you have understood the flow of requests to the Web Apps, your goal might be able to be smoothly achieved. In this report, I would like to introduce the information about it.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Workaround: Reflecting Latest Script to Deployed Web Apps Created by Google Apps Script without Redeploying</title>
      <link>https://tanaikech.github.io/2022/12/07/workaround-reflecting-latest-script-to-deployed-web-apps-created-by-google-apps-script-without-redeploying/</link>
      <pubDate>Wed, 07 Dec 2022 14:50:11 +0900</pubDate>
      <guid>https://tanaikech.github.io/2022/12/07/workaround-reflecting-latest-script-to-deployed-web-apps-created-by-google-apps-script-without-redeploying/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/e46def22cf106b012dfa5ad359b93d24&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This report is a workaround for reflecting the latest Google Apps Script to the deployed Web Apps without redeploying.&lt;/p&gt;&#xA;&lt;h2 id=&#34;pattern-1&#34;&gt;Pattern 1&lt;/h2&gt;&#xA;&lt;p&gt;Of course, when the developer mode of &lt;code&gt;https://script.google.com/macros/s/###/dev&lt;/code&gt; is used, the latest script can be used without redeploying.&lt;/p&gt;&#xA;&lt;p&gt;But, in this case, only the permitted users can use it using the access token. when you want to achieve this using the endpoint of &lt;code&gt;https://script.google.com/macros/s/###/exec&lt;/code&gt; without the access token, in order to reflect the latest script to Web Apps, it is required to redeploy. As another pattern, I would like to introduce a workaround for this situation.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Report: Implementing Pseudo 2FA for Web Apps using Google Apps Script</title>
      <link>https://tanaikech.github.io/2022/10/26/report-implementing-pseudo-2fa-for-web-apps-using-google-apps-script/</link>
      <pubDate>Wed, 26 Oct 2022 10:13:12 +0900</pubDate>
      <guid>https://tanaikech.github.io/2022/10/26/report-implementing-pseudo-2fa-for-web-apps-using-google-apps-script/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/7a15164b1227e2ec2231fce24ae9daf2&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/image-storage/20221026a/fig1.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;abstract&#34;&gt;Abstract&lt;/h2&gt;&#xA;&lt;p&gt;In Google Apps Script, there is the Web Apps. When Web Apps is used, the users can execute Google Apps Script using HTML and Javascript. This can be applied to various applications. When the Web Apps is deployed with &amp;ldquo;Anyone&amp;rdquo;, anyone can access the Web Apps. And, there is the case that Web Apps deployed with &amp;ldquo;Anyone&amp;rdquo; is required to be used. Under this condition, when 2 Factor Authentication (2FA) can be implemented, it is considered that the security can be higher and it leads to giving various directions for the applications using Web Apps. In this report, I would like to introduce the method for implementing the pseud 2FA for Web Apps deployed with “Anyone” using Google Apps Script.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Report: Recent Value of ScriptApp.getService().getUrl() in Google Apps Script</title>
      <link>https://tanaikech.github.io/2022/06/11/report-recent-value-of-scriptapp.getservice.geturl-in-google-apps-script/</link>
      <pubDate>Sat, 11 Jun 2022 09:52:39 +0900</pubDate>
      <guid>https://tanaikech.github.io/2022/06/11/report-recent-value-of-scriptapp.getservice.geturl-in-google-apps-script/</guid>
      <description>&lt;p&gt;There is a method of &lt;code&gt;ScriptApp.getService().getUrl()&lt;/code&gt; for obtaining the Web Apps URL in Google Apps Script.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Before the V8 runtime is released, this method had returned the endpoint like &lt;code&gt;https://script.google.com/macros/s/{deploymentId}/exec&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;After the V8 runtime was released, the endpoint of &lt;code&gt;https://script.google.com/macros/s/{deploymentId}/dev&lt;/code&gt; was returned.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Now, it seems that this returns &lt;code&gt;https://script.google.com/macros/s/###/exec&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;But, in the current stage, when I access this endpoint, the message of &lt;code&gt;Sorry, unable to open the file at this time. Please check the address and try again.&lt;/code&gt; is returned. So, I tried to search the deployment ID of &lt;code&gt;###&lt;/code&gt; from &lt;code&gt;https://script.google.com/macros/s/###/exec&lt;/code&gt; returned with current &lt;code&gt;ScriptApp.getService().getUrl()&lt;/code&gt;. But, unfortunately, I cannot find the deployment ID. I&amp;rsquo;m worried that this might be related to the error.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Redeploying Web Apps without Changing URL of Web Apps for new IDE</title>
      <link>https://tanaikech.github.io/2021/03/29/redeploying-web-apps-without-changing-url-of-web-apps-for-new-ide/</link>
      <pubDate>Mon, 29 Mar 2021 14:51:58 +0900</pubDate>
      <guid>https://tanaikech.github.io/2021/03/29/redeploying-web-apps-without-changing-url-of-web-apps-for-new-ide/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/ebf92d8f427d02d53989d6c3464a9c43&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;At March 15, 2021, one endpoint is created for one deployment. &lt;a href=&#34;https://developers.google.com/apps-script/releases/#march_15_2021&#34;&gt;Ref&lt;/a&gt; By this, when you redeploy &amp;ldquo;Web Apps&amp;rdquo;, the endpoint is changed. Because the deployment ID is changed. It seems that this it the new specification. In this report, I would like to introduce the method for redeploying Web Apps without changing the URL of Web Apps for new IDE.&lt;/p&gt;&#xA;&lt;h2 id=&#34;deploy-web-apps&#34;&gt;Deploy Web Apps&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open &amp;ldquo;New deployment&amp;rdquo; dialog with &amp;ldquo;Deploy&amp;rdquo; -&amp;gt; &amp;ldquo;New deployment&amp;rdquo;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Simple Photo Gallery Created by Google Slides and Web Apps using Google Apps Script</title>
      <link>https://tanaikech.github.io/2021/01/24/simple-photo-gallery-created-by-google-slides-and-web-apps-using-google-apps-script/</link>
      <pubDate>Sun, 24 Jan 2021 15:56:13 +0900</pubDate>
      <guid>https://tanaikech.github.io/2021/01/24/simple-photo-gallery-created-by-google-slides-and-web-apps-using-google-apps-script/</guid>
      <description>&lt;h1 id=&#34;overview&#34;&gt;Overview&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;This is a sample script for achieving a simple photo gallery created by Google Slides and Web Apps using Google Apps Script.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;description&#34;&gt;Description&lt;/h2&gt;&#xA;&lt;p&gt;At Google, there is a great Google Photos. &lt;a href=&#34;https://www.google.com/photos/about/&#34;&gt;Ref&lt;/a&gt; Recently, I was required to have a simple photo gallery. At that time, I thought that when an independence photo gallery instead of Google Photos can be used, it will be useful. Also, this might be useful&#xA;for other users. So I published this.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Workaround: Showing Log in Web Apps to Apps Script Dashboard using Javascript</title>
      <link>https://tanaikech.github.io/2020/07/29/workaround-showing-log-in-web-apps-to-apps-script-dashboard-using-javascript/</link>
      <pubDate>Wed, 29 Jul 2020 09:24:27 +0900</pubDate>
      <guid>https://tanaikech.github.io/2020/07/29/workaround-showing-log-in-web-apps-to-apps-script-dashboard-using-javascript/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/e27581278f8cb464dff1dd83d6f887a7&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;I have already reported for showing the log to &amp;ldquo;Apps Script Dashboard&amp;rdquo; when it requests to the Web Apps. &lt;a href=&#34;https://tanaikech.github.io/2020/07/26/logs-in-web-apps-for-google-apps-script/&#34;&gt;Ref&lt;/a&gt; In order to show the log to &amp;ldquo;Apps Script Dashboard&amp;rdquo; when it requests to the Web Apps, it is required to use the access token. But in the current stage, when the access token is used for &lt;code&gt;XMLHttpRequest&lt;/code&gt; and &lt;code&gt;fetch&lt;/code&gt; of Javascript in the request headers, the error related to CORS occurs. So, in this report, I would like to propose the workaround for resolving this issue.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Logs in Web Apps for Google Apps Script</title>
      <link>https://tanaikech.github.io/2020/07/26/logs-in-web-apps-for-google-apps-script/</link>
      <pubDate>Sun, 26 Jul 2020 08:26:14 +0900</pubDate>
      <guid>https://tanaikech.github.io/2020/07/26/logs-in-web-apps-for-google-apps-script/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/3ccb4dd8ce43de21fdb764a68c14a4d7&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is a report for retrieving the logs in Web Apps for Google Apps Script, when it requests to the Web Apps.&lt;/p&gt;&#xA;&lt;h2 id=&#34;experimental-condition&#34;&gt;Experimental condition&lt;/h2&gt;&#xA;&lt;h3 id=&#34;1-sample-script-for-web-apps&#34;&gt;1. Sample script for Web Apps&lt;/h3&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;doGet&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;) =&amp;gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;Logger&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;`GET method: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;console&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;`GET method: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ContentService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createTextOutput&lt;/span&gt;(&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;({ &lt;span style=&#34;color:#a6e22e&#34;&gt;method&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;GET&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt; })&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  );&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;};&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;doPost&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;) =&amp;gt; {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;Logger&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;`POST method: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;console&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;log&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;`POST method: &lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;${&lt;/span&gt;&lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;)&lt;span style=&#34;color:#e6db74&#34;&gt;}&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;`&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;ContentService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createTextOutput&lt;/span&gt;(&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;({ &lt;span style=&#34;color:#a6e22e&#34;&gt;method&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;POST&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt; })&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  );&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;};&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul&gt;&#xA;&lt;li&gt;This Web Apps is deployed as &lt;code&gt;Execute the app as: Me&lt;/code&gt; and &lt;code&gt;Who has access to the app: Anyone, even anonymous&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h3 id=&#34;2-sample-google-apps-script-project&#34;&gt;2. Sample Google Apps Script project&lt;/h3&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Google Apps Script of standalone type WITHOUT linking Google Cloud Platform (GCP) Project&lt;/p&gt;</description>
    </item>
    <item>
      <title>Sample Scripts for Requesting to Web Apps by Various Languages</title>
      <link>https://tanaikech.github.io/2020/07/15/sample-scripts-for-requesting-to-web-apps-by-various-languages/</link>
      <pubDate>Wed, 15 Jul 2020 15:52:59 +0900</pubDate>
      <guid>https://tanaikech.github.io/2020/07/15/sample-scripts-for-requesting-to-web-apps-by-various-languages/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/a72aab0242012362c46ec69031c720d5&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a name=&#34;top&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;These are the sample scripts by the various languages for requesting to &lt;a href=&#34;https://developers.google.com/apps-script/guides/web&#34;&gt;Web Apps&lt;/a&gt; created by Google Apps Script.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#curl&#34;&gt;curl&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#googleappsscript&#34;&gt;Google Apps Script&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#javascript&#34;&gt;Javascript&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#ajax&#34;&gt;ajax&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#node&#34;&gt;Node.js&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#axios&#34;&gt;axios&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#angular&#34;&gt;angular&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#go&#34;&gt;go&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#python&#34;&gt;python&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#php&#34;&gt;php&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;&lt;a href=&#34;#powershell&#34;&gt;powershell&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h1 id=&#34;sample-script-for-web-apps&#34;&gt;Sample script for Web Apps&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Sample script for Web Apps is as follows.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;doGet&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;) =&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;ContentService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createTextOutput&lt;/span&gt;(&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;({ &lt;span style=&#34;color:#a6e22e&#34;&gt;method&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;GET&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;eventObject&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt; })&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ).&lt;span style=&#34;color:#a6e22e&#34;&gt;setMimeType&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;ContentService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;MimeType&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;const&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;doPost&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; (&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;) =&amp;gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;ContentService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createTextOutput&lt;/span&gt;(&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;    &lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;stringify&lt;/span&gt;({ &lt;span style=&#34;color:#a6e22e&#34;&gt;method&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;POST&amp;#34;&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;eventObject&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;:&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt; })&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  ).&lt;span style=&#34;color:#a6e22e&#34;&gt;setMimeType&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;ContentService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;MimeType&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;JSON&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Setting for Web Apps is as follows.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Updated: Taking advantage of Web Apps with Google Apps Script</title>
      <link>https://tanaikech.github.io/2020/07/01/updated-taking-advantage-of-web-apps-with-google-apps-script/</link>
      <pubDate>Wed, 01 Jul 2020 10:32:09 +0900</pubDate>
      <guid>https://tanaikech.github.io/2020/07/01/updated-taking-advantage-of-web-apps-with-google-apps-script/</guid>
      <description>&lt;p&gt;New section &lt;a href=&#34;https://github.com/tanaikech/taking-advantage-of-Web-Apps-with-google-apps-script#corsinwebapps&#34;&gt;CORS in Web Apps&lt;/a&gt; was added to &lt;a href=&#34;https://github.com/tanaikech/taking-advantage-of-Web-Apps-with-google-apps-script&#34;&gt;Taking advantage of Web Apps with Google Apps Script&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;In this section, I would like to introduce CORS in Web Apps. As the result, in order to prevent the error related to CORS, it was found the following important points.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;It is required to return &lt;code&gt;ContentService.createTextOutput()&lt;/code&gt; and &lt;code&gt;ContentService.createTextOutput(&amp;quot;done&amp;quot;)&lt;/code&gt; from &lt;code&gt;doGet&lt;/code&gt; and &lt;code&gt;doPost&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;For POST method, the data is required to be converted to the string and sent to Web Apps.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Completed: Web Application for searching Google Apps Script Library from Database</title>
      <link>https://tanaikech.github.io/2020/03/12/completed-web-application-for-searching-google-apps-script-library-from-database/</link>
      <pubDate>Thu, 12 Mar 2020 11:58:20 +0900</pubDate>
      <guid>https://tanaikech.github.io/2020/03/12/completed-web-application-for-searching-google-apps-script-library-from-database/</guid>
      <description>&lt;p&gt;Web Application for searching Google Apps Script Library from Database was completed. So I published it as v1.0.0. Please check &lt;a href=&#34;https://github.com/tanaikech/Google-Apps-Script-Library-Database&#34;&gt;Google Apps Script Library Database&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Web Apps: Fields Builder For Google APIs</title>
      <link>https://tanaikech.github.io/2020/03/04/web-apps-fields-builder-for-google-apis/</link>
      <pubDate>Wed, 04 Mar 2020 16:08:06 +0900</pubDate>
      <guid>https://tanaikech.github.io/2020/03/04/web-apps-fields-builder-for-google-apis/</guid>
      <description>&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://sites.google.com/view/fields-builder&#34;&gt;FieldsBuilderForGoogleAPIs&lt;/a&gt; is a Web Application for building the fields value for using Google APIs. This is mainly used for developing the scripts for using Google APIs.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;demo&#34;&gt;Demo&lt;/h2&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://github.com/tanaikech/FieldsBuilderForGoogleAPIs/raw/master/images/demo.gif&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;description&#34;&gt;Description&lt;/h2&gt;&#xA;&lt;p&gt;After the API explorer was updated, the fields of APIs cannot be created by the web interface. But it is important for using the fields property. Because when the fields property is used, only the required values can be retrieved. This leads to the low cost. And even when &lt;code&gt;*&lt;/code&gt; is used, there are some cases that all fields cannot be retrieved. So I created this as a Web Application. This web application can run with the standalone. No authorization and no scopes are required. This only creates the fields value for Google APIs.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Update: Taking advantage of Web Apps with Google Apps Script</title>
      <link>https://tanaikech.github.io/2019/01/16/update-taking-advantage-of-web-apps-with-google-apps-script/</link>
      <pubDate>Wed, 16 Jan 2019 10:42:46 +0900</pubDate>
      <guid>https://tanaikech.github.io/2019/01/16/update-taking-advantage-of-web-apps-with-google-apps-script/</guid>
      <description>&lt;p&gt;&amp;ldquo;Taking advantage of Web Apps with Google Apps Script&amp;rdquo; was updated. A section of &lt;a href=&#34;https://github.com/tanaikech/taking-advantage-of-Web-Apps-with-google-apps-script#howtousedevmode&#34;&gt;&amp;ldquo;How to use dev mode from outside&amp;rdquo;&lt;/a&gt; was added.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;When you deploy Web Apps, you can see the link labeled latest code. The link is like &lt;code&gt;https://script.google.com/macros/s/###/dev&lt;/code&gt;. When you access to the link of latest code using your browser under you login to Google, you can access to Web Apps with the dev mode. But if you want to access to Web Apps with the dev mode from outside, there are no documents for the method. Here, it introduces such method.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;&lt;font color=&#34;#3366CC&#34;&gt;&lt;strong&gt;You can check this at &lt;a href=&#34;https://github.com/tanaikech/taking-advantage-of-Web-Apps-with-google-apps-script&#34;&gt;https://github.com/tanaikech/taking-advantage-of-Web-Apps-with-google-apps-script&lt;/a&gt;.&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;</description>
    </item>
    <item>
      <title>Resumable Upload for Web Apps using Google Apps Script</title>
      <link>https://tanaikech.github.io/2018/05/17/resumable-upload-for-web-apps-using-google-apps-script/</link>
      <pubDate>Thu, 17 May 2018 16:48:16 +0900</pubDate>
      <guid>https://tanaikech.github.io/2018/05/17/resumable-upload-for-web-apps-using-google-apps-script/</guid>
      <description>&lt;h1 id=&#34;news&#34;&gt;News&lt;/h1&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/tanaikech/ResumableUploadForGoogleDrive_js&#34;&gt;At October 11, 2019, I published a Javascript library to to run the resumable upload for Google Drive.&lt;/a&gt; When this is used, the large file can be uploaded. You can also use this js library.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://github.com/tanaikech/AsynchronousResumableUploadForGoogleDrive&#34;&gt;Resumable Upload of Multiple Files with Asynchronous Process for Google Drive&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h1 id=&#34;overview&#34;&gt;Overview&lt;/h1&gt;&#xA;&lt;p&gt;This is a sample script for uploading files with large size (&amp;gt; 50 MB) at Web Apps using Google Apps Script (GAS). The resumable upload method is used for uploading files. This script can be also applied to the script using gapi of javascript.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Taking advantage of Web Apps with Google Apps Script</title>
      <link>https://tanaikech.github.io/2018/04/26/taking-advantage-of-web-apps-with-google-apps-script/</link>
      <pubDate>Thu, 26 Apr 2018 08:35:02 +0900</pubDate>
      <guid>https://tanaikech.github.io/2018/04/26/taking-advantage-of-web-apps-with-google-apps-script/</guid>
      <description>&lt;h1 id=&#34;overview&#34;&gt;Overview&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;This is a report to take advantage of Web Apps with Google Apps Script (GAS).&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;h1 id=&#34;description&#34;&gt;Description&lt;/h1&gt;&#xA;&lt;p&gt;There is &lt;a href=&#34;https://developers.google.com/apps-script/guides/web&#34;&gt;Web Apps&lt;/a&gt; as one of applications using Google Apps Script (GAS). I sometimes use this Web Apps. But I have only a little the information for the specification of Web Apps. So in order to take more advantage of Web Apps, I investigated and summarized about this. The aim of this report is to become one of the basic information for creating various applications using Web Apps with GAS.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Uploading Local Files to Google Drive without Authorization using HTML Form</title>
      <link>https://tanaikech.github.io/2017/11/06/uploading-local-files-to-google-drive-without-authorization-using-html-form/</link>
      <pubDate>Mon, 06 Nov 2017 08:54:37 +0900</pubDate>
      <guid>https://tanaikech.github.io/2017/11/06/uploading-local-files-to-google-drive-without-authorization-using-html-form/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/2f16f467c94612dc83920a3158614d95&#34;&gt;Gists&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is a sample script for uploading local file to Google Drive without the authorization using HTML form. A selected file in your local PC using HTML form is uploaded to Google Drive and saved to Google Drive.&lt;/p&gt;&#xA;&lt;p&gt;When you use this, at first, please &lt;a href=&#34;https://developers.google.com/apps-script/guides/web#deploying_a_script_as_a_web_app&#34;&gt;deploy Web Apps&lt;/a&gt;. The script is &lt;code&gt;doPost()&lt;/code&gt; of following scripts.&lt;/p&gt;&#xA;&lt;h2 id=&#34;script--google-apps-script&#34;&gt;Script : Google Apps Script&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-javascript&#34; data-lang=&#34;javascript&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#66d9ef&#34;&gt;function&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;doPost&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;) {&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;data&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Utilities&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;base64Decode&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;parameters&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;data&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;blob&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;Utilities&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;newBlob&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;data&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;parameters&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;mimetype&lt;/span&gt;, &lt;span style=&#34;color:#a6e22e&#34;&gt;e&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;parameters&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;filename&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;DriveApp&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createFile&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;blob&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;var&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt; &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;HtmlService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;createHtmlOutput&lt;/span&gt;(&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;&amp;lt;b&amp;gt;Done!&amp;lt;/b&amp;gt;&amp;#34;&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;setXFrameOptionsMode&lt;/span&gt;(&lt;span style=&#34;color:#a6e22e&#34;&gt;HtmlService&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;XFrameOptionsMode&lt;/span&gt;.&lt;span style=&#34;color:#a6e22e&#34;&gt;ALLOWALL&lt;/span&gt;);&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#66d9ef&#34;&gt;return&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;output&lt;/span&gt;;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;  &lt;span style=&#34;color:#75715e&#34;&gt;// return ContentService.createTextOutput(&amp;#34;Done.&amp;#34;) &amp;lt;--- Here, an error occurred.&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;}&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id=&#34;flow-&#34;&gt;Flow :&lt;/h3&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Retrieve data, filename and mimetype as &lt;code&gt;e.parameters.data&lt;/code&gt;, &lt;code&gt;e.parameters.filename&lt;/code&gt; and &lt;code&gt;e.parameters.mimetype&lt;/code&gt;, respectively.&lt;/li&gt;&#xA;&lt;li&gt;Decode the data using &lt;code&gt;Utilities.base64Decode()&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create blob using &lt;code&gt;Utilities.newBlob()&lt;/code&gt;.&lt;/li&gt;&#xA;&lt;li&gt;Create the file in the root folder of Google Drive.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;script--html&#34;&gt;Script : HTML&lt;/h2&gt;&#xA;&lt;p&gt;&lt;code&gt;https://script.google.com/macros/s/#####/exec&lt;/code&gt; is the URL obtained when the Web Apps was deployed. Please replace it to your Web Apps URL. You can open this HTML for the browser of your local PC.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Downloading Files From Google Drive Under No Authorization Using Browser</title>
      <link>https://tanaikech.github.io/2017/07/04/downloading-files-from-google-drive-under-no-authorization-using-browser/</link>
      <pubDate>Tue, 04 Jul 2017 15:57:20 +0900</pubDate>
      <guid>https://tanaikech.github.io/2017/07/04/downloading-files-from-google-drive-under-no-authorization-using-browser/</guid>
      <description>&lt;p&gt;&lt;a name=&#34;TOP&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;a href=&#34;https://gist.github.com/tanaikech/c5b2811bce01cbcc26ffa357df496379&#34;&gt;Gist&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is a sample script for downloading files from Google Drive under no authorization using browser. By using this sample, you can make other users download files from your Google Drive. Even if the other users are not Google users, they can download the files.&lt;/p&gt;&#xA;&lt;p&gt;&lt;a name=&#34;demo&#34;&gt;&lt;/a&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;demo&#34;&gt;Demo&lt;/h2&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://tanaikech.github.io/img/20170704-demo_simple.gif&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;This is a demonstration for downloading files from Google Drive under no authorization using browser. From the top document, You can see that an user who is not owner of Google Drive is downloading files.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
