UrlFetchApp is not defined
UrlFetchApp is not defined
我正在调用UrlFetchApp.fetch("www.google.com")
从我的chrome javascript代码中,我得到了:
未捕获引用错误:未定义UrlFetchApp
有人知道为什么它没有定义吗?我以为它是内置的。
URL Fetch Service及其UrlFetchApp类是Google Apps Script的一部分,这是一种基于javascript的服务器端脚本语言,允许您使用自定义功能扩展Google Apps产品,如Docs、Sheets和Forms。
UrlFetchApp类在客户端javascript中不可用,这看起来就像你正在尝试做的。你只能在服务器端的GoogleAppsScript.gs文件中使用它。
相关文章:
- reactRedux is not defined
- ReferenceError: not defined
- ReferenceError: cordova is not defined @ng-cordova.min.js:7
- jQuery is not defined - WordPress footer.php
- GAPI Is Not Defined
- Page_ClientValidate is not defined
- ReferenceError: $firebase is not defined
- ReferenceError: crimeID is not defined
- AngularJS: $scope is not defined?
- ajaxUrl is not defined
- WebView: Uncaught ReferenceError: Android is not defined
- ReferenceError SetInterval not defined
- ReferenceError: yes is not defined
- ReferenceError "not defined"
- Soundcloud API ReferenceError: $ is not defined (JavaScript)
- Angular: Compile is not defined
- nodeJS phantom ReferenceError: Promise is not defined
- observableArray is not defined
- Uncaught ReferenceError trapArea/Per is not defined
- ReferenceError: xmlhttp is not defined