gpt4 book ai didi

javascript - 如何在 Google Apps 脚本 API 和 esendex.com 推送通知程序之间设置 API 中继

转载 作者:行者123 更新时间:2023-12-03 06:23:34 25 4
gpt4 key购买 nike

我正在使用 esendex 处理入站和出站短信 http://developers.esendex.com/APIs/Push-Notifications

我正在使用 Google Apps 脚本 (GAS) 来设置我的消息处理,GAS api 设置位于此处 https://developers.google.com/apps-script/execution/rest/v1/scripts/run

我的问题是推送通知的格式/结构与 GAS api 的格式/结构不兼容

我的问题是,如果可以,我该如何在中间设置一个中继,接受来自 esendex 的推送通知,重新格式化并将其转发到 GAS,反之亦然,并使用响应代码

最佳答案

看来您遇到了像 GAS 这样的平台的限制。

您也许可以使用 Amazon API Gateway 之类的工具来转换请求并将其转发到 GAS:https://aws.amazon.com/api-gateway/

关于javascript - 如何在 Google Apps 脚本 API 和 esendex.com 推送通知程序之间设置 API 中继,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38753212/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com