Zapier oauth v2 访问令牌端点
Zapier oauth v2 access token endpoints
我正在尝试将我的 api 整合到 zapier.
要配置 OAuth v2,我们需要设置访问令牌请求的端点,如下所述:https://platform.zapier.com/docs/oauth#add-access-token-request-and-refresh-token-request-urls
问题是我的 api 服务器在发送 json ({"redirect_uri":"xxxx", "client_id":"xxxx", ...}
) 时甚至不读取正文中的数据。
它只接受数据作为表单参数 (redirect_uri=xxxx&client_id=xxxx&...
)
即使我使用 code mode
和 z.request()
.
,我也没有找到使 zapier 将数据作为表单参数发送的任何解决方案
感谢帮助
编辑:
小精度:服务器在 php 上运行,参数预计在 $_POST
中。所以我无法在 $_GET
(url 参数)中发送数据,php://input
(对于 json)
我正在尝试将我的 api 整合到 zapier.
要配置 OAuth v2,我们需要设置访问令牌请求的端点,如下所述:https://platform.zapier.com/docs/oauth#add-access-token-request-and-refresh-token-request-urls
问题是我的 api 服务器在发送 json ({"redirect_uri":"xxxx", "client_id":"xxxx", ...}
) 时甚至不读取正文中的数据。
它只接受数据作为表单参数 (redirect_uri=xxxx&client_id=xxxx&...
)
即使我使用 code mode
和 z.request()
.
感谢帮助
编辑:
小精度:服务器在 php 上运行,参数预计在 $_POST
中。所以我无法在 $_GET
(url 参数)中发送数据,php://input
(对于 json)