【问题标题】:Converting a Curl command to run in a Zapier Webhook将 Curl 命令转换为在 Zapier Webhook 中运行
【发布时间】:2018-11-20 05:17:52
【问题描述】:

我试图找到一种方法在 Zapier 上的 Webhook Zap 中运行此 curl 命令,但我似乎无法弄清楚。我将如何在 Webhook 中输入它?以Code Zap 的形式运行会更好吗?

curl -X POST "https://api.zoom.us/v2/users?access_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJmY3FvTHlyRVRpR3VmWmw2dW1ZU2NBIiwiaWF0IjoxNTI4Njc0OTUxLCJleHAiOjE1Mjg2OTI5NTF9.fvDzS8-UtHyO_YUF5-eqLyuopAuoL48SRwKxcOV1YrE" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"action\": \"create\", \"user_info\": { \"email\": \"test@test.com\", \"type\": 1, \"first_name\": \"Chris\", \"last_name\": \"G\", \"password\": \"Test54321\" }}"

【问题讨论】:

    标签: curl webhooks zapier


    【解决方案1】:

    David 来自 Zapier 平台团队。幸运的是,这很容易。由于您使用的是嵌套数据,因此您需要使用 Zapier 的 Custom Request 提供的 Webhooks。设置如下:

    正文和网址:

    标题:

    你也可以通过代码来做,你会得到同样的结果。

    另外,如果 access_token 仍然存在,请确保在它已公开发布后将其撤消!

    【讨论】:

      猜你喜欢
      • 2019-10-11
      • 2022-01-10
      • 2021-03-27
      • 2019-11-04
      • 1970-01-01
      • 2020-07-09
      • 1970-01-01
      相关资源
      最近更新 更多