【问题标题】:Using Headers with Google Community Connector将标头与 Google 社区连接器一起使用
【发布时间】:2020-07-29 19:23:07
【问题描述】:

在编写 Google 社区连接器时如何使用授权标头?

例如。在 getData() 中调用 URL 时会不会像这样简单:

var response = JSON.parse(UrlFetchApp."https://api_example.com", { “方法”:“获取”, “标题”:{ “主持人”: *********, “钥匙”: ************} )).root.station;

我在 Google Data Studio 中不断收到数据连接错误,但我无法确定是因为上述授权不善还是我的 getData() 格式不正确。

【问题讨论】:

    标签: google-apps-script restful-authentication google-data-studio request-headers


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-01-22
      • 1970-01-01
      • 2015-08-05
      • 2018-12-23
      • 1970-01-01
      相关资源
      最近更新 更多