Skip to content Skip to sidebar Skip to footer

Google Apps Script: Possible To Send Http Requests To A Local Server That's Not On Interrnet?

I'm considering Apps script for a small project that involves fetching data from a local server that's not on the internet and then populating a Google sheets spread sheet with the

Solution 1:

It is possible as long as the local server is route able from a public address. Apps Script runs exclusively on Google's infrastructure so even when you click run in the IDE it is not your browser running the code, but a google server. There is a way to work around this as app script can serve webpages that can communicate with your script called webapps. The served webpages do run in your browser and can access the localhost.

https://developers.google.com/apps-script/guides/webhttps://developers.google.com/apps-script/guides/html/

Post a Comment for "Google Apps Script: Possible To Send Http Requests To A Local Server That's Not On Interrnet?"