I have the following code in my google apps script that does not seem to be working. I converted my CURL in my start trigger to a REST call in Postman and it worked to post to my DB in retool. But this below is not working. Any ideas?
var url = "https://api.retool.com/v1/workflows/2c2eb27f-e95d-4b07-8bfe-ae860632e91b/startTrigger?workflowApiKey=retool_wk_***";
var options = {
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": JSON.stringify({
"socialID": postID,
})
};
};
var response = UrlFetchApp.fetch(url, options);