title: How to get a URL string parameter passed to Google Apps Script doGet(e)
body: <p>Given this URL:</p>
  
  <pre><code>https://script.google.com/macros/s/MacroName/dev?theArg="69.28.15.332"
  </code></pre>
  
  <p>The important part is on the end:</p>
  
  <pre><code>?theArg="69.28.15.332"
  </code></pre>
  
  <p>I'm trying to pass information to an Apps Script in the URL.
  Why won't my <code>.gs</code> Google Apps Script function get the value of the string at the end of the URL?  This is the <code>doGet(e)</code> function.</p>
  
  <pre><code>function doGet(e){
    var passedInIP = e.parameter.theArg;
    Logger.log(passedInIP);
  
    if (passedInIP === "69.28.15.332") 
    {
      return HtmlService.createHtmlOutput("&lt;h2&gt;something&lt;/h2&gt;")
    }
  };
  </code></pre>
  
  <p>I get this error msg printed in the browser:</p>
  
  <blockquote>
    <p>The script completed but did not return anything</p>
  </blockquote>
  
  <p>The <code>Logger.log</code> does log something.  It logs <code>[Date Time EDT] "69.28.15.332"</code> and the value is exactly the same in the log, as the value I'm checking for.  But the equality test fails.</p>