I want to run a trigger to post data to a URL when a value is added in a Google Sheet.
But as the UrlFetchApp.fetch() does not work on onEdit trigger, is there a turnaround we can do , so I get the value whenever a new value is added in the sheet
You might want to check this issue tracker 1 that you may use customFunction and connect it to onEdit() to make it work. Note that issue tracker 2, UrlFetchApp is no longer supported in a simple onEdit trigger. You can try the work around that can be found in the issue tracker 1 but mentioned that they "disabled Urlfetch in onEdit triggers because to enable this feature may introduce a security concern."
Hope this info helps.
onEdit()to make it work. Note that issue tracker 2, UrlFetchApp is no longer supported in a simple onEdit trigger. You can try the work around that can be found in the issue tracker 1 but as a Googler said that they "disabled Urlfetch in onEdit triggers because to enable this feature may introduce a security concern." Hope this info helps.