我正在嘗試使用UrlFetchApp Google Scripts API制作代理。但是,對于查詢字符串 ,它會給我這個錯誤:?url="https://google.com"Exception: Invalid argument: "https://google.com" (line 3, file "Code")但是當我在下面的代碼中替換 https://google.com,即param的確切值時,由于某種原因,它工作得很好。param這是我的代碼:function doGet(e) { var param = e["parameter"]["url"]; var response = UrlFetchApp.fetch(param); return HtmlService.createHtmlOutput(response);}感謝您的任何幫助!
UrlFetchApp Variable Errors
qq_花開花謝_0
2022-08-04 15:52:50