📜  google scripts urlfetchapp 听众和正文 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:23.228000             🧑  作者: Mango

代码示例1
var options = {
   "method": "post",
   "headers": {
      "Authorization": "Bearer" + token
   },
   "payload": {
      "From": "+12025551212",
      "To": "+14155551212",
      "Body": "Test from Google Apps Script"
   }
};
var response = UrlFetchApp.fetch(url, options);