title: Is this possible to use Sheets API post endpoint with UrlFetchApp?
body: <p>I'm trying to append data to a spreadsheet.</p>
  <p>I use <code>UrlFetchApp</code> to <code>GET</code> values but is it possible to <code>POST</code> values, for example, to append rows to a spreadsheet?</p>
  <p>Here is my code so far</p>
  <pre><code>var token = ScriptApp.getOAuthToken();
  var options = {
    &quot;headers&quot;: {
         'Authorization': 'Bearer ' +  token
     },
    &quot;method&quot;: &quot;POST&quot;,
    &quot;Content-type&quot; : &quot;application/json&quot;,
    &quot;payload&quot;: JSON.stringify(values) //stringify a 2D array of data
  }
  
  var resp = UrlFetchApp.fetch(&quot;https://sheets.googleapis.com/v4/spreadsheets/spreadsheetId/values/RangeName:append?insertDataOption=INSERT_ROWS&quot;, options);
  </code></pre>