title: Attempting to make a POST call from a Google App Script
body: <p>I am trying to trigger a POST call as a webhook to trigger a workflow in an external system from Google Sheets using Google App Script</p>
  
  <p>The logic is fine, I have tested that the script will trigger as I want when a cell in column 6 is edited. The issue is I cannot get the call to my webhook URL to be sent</p>
  
  <p>In my code below I have brought it back to the example Google have in their docs just to try and get it working before I add the data I actually want. Any pointers would be appreciated. It is going to be something stupid...I have been looking at it too long and have dug into too many resources.</p>
  
  <pre><code>  var cell = SpreadsheetApp.getActive().getActiveCell();
    var row = cell.getRow();
    var col = cell.getColumn();
  
    if (col == 6){
  
      var data = {
        'name': 'Bob Smith',
        'age': 35,
        'pets': ['fido', 'fluffy']
      };
      var options = {
        'method' : 'post',
        'contentType': 'application/json',
        // Convert the JavaScript object to a JSON string.
        'payload' : JSON.stringify(data)
      };
  UrlFetchApp.fetch('https://webhook.site/26d7bc1e-8d40-4249-bbf4-f7360ae26424', options);
  
    }
    else {
      return;
    }
  }
  </code></pre>