title: Google Script to send GET request to Trello API and import data to Google Sheet
body: <p>I have a small script to pull information from a Trello API.</p>
  <p>The script works fine when I've assigned the full URL to a String variable. However, when I pass the params separately, I get an error &quot;unauthorized permission requested&quot;.</p>
  <p>Working code:</p>
  <pre><code>var url = &quot;https://api.trello.com/1/boards/57c68c1beaab4c676adfaeb1/lists?key=myTrelloKey&amp;token=myTrelloToken&quot;;
  
    var response = UrlFetchApp.fetch(url);
    Logger.log(response.getContentText());
  </code></pre>
  <p>Problematic code:</p>
  <pre><code>var url = &quot;https://api.trello.com/1/boards/57c68c1beaab4c676adfaeb1/lists&quot;;
  
    var options = 
   {
    &quot;key&quot;: &quot;myTrelloKey&quot;,
    &quot;token&quot;: &quot;myTrelloToken&quot;,
    &quot;muteHttpExceptions&quot; : true
    };
    
    var response = UrlFetchApp.fetch(url,options);
    Logger.log(response.getContentText());
  </code></pre>
  <p>I have tried to understand if it's an Authentication issue, but could not get my way around it. Am I doing something wrong in the second version? Thanks in advance!</p>