有谁知道如何将 node.js 的更改代理标头添加到 smartsheet api 调用?在 api 文档https://smartsheet-platform.github.io/api-docs/?javascript#preventing-infinite-loops中没有实现,只有 Ruby 中的一个示例。webhook 不会选择使用相同的设置,因此现在从 API 运行任何更改都会导致无限循环。
let options = {
sheetId: SHEET_ID,
body: body,
header_overrides: {'Smartsheet-Change-Agent': 'MyChangeAgent'}
};
smartsheet.sheets.updateRow(options);
非常感谢