问题
How to call a Google Cloud Endpoint from Google Apps Script?
There must be a supported way to do this.
For example, you create an end point and you want to use it from Google Apps Script. The only thing I see is to use UrlFetchApp.fetch. But there must be a better way.
Thanks.
回答1:
Unfortunately UrlFetchApp is the only supported way to call a Google Cloud Endpoints API at the moment. Please see our support page for more information on how file a feature request to add better support for Cloud Endpoints.
来源:https://stackoverflow.com/questions/22586148/how-to-call-a-google-cloud-endpoint-from-google-apps-script