【发布时间】:2019-11-02 04:17:48
【问题描述】:
我正在为 Google 表格使用 Google 脚本,我想在 google 脚本中运行 jQuery 代码或使用 google 应用程序脚本中的某些方法来执行以下操作:
var url = 'https://example.com/message?token=83763g87x';
var data = {
money: '333',
body: 'Hello, Andrew!', // Message
};
// Send a request
$.ajax(url, {
data : JSON.stringify(data),
contentType : 'application/json',
type : 'POST'
});
【问题讨论】:
-
你需要urlfetch
标签: javascript jquery ajax google-apps-script google-sheets