将Curl转换为Zapier

将Curl转换为Zapier,curl,post,zapier,Curl,Post,Zapier,正在尝试将此转换为Zapier上的POST请求: curl https://api.synthesia.io/v1/videos \ -H "Authorization: ${API_KEY}" \ -H "Content-Type: application/json" \ -X POST \ -d '{ "title": "Hello, World!", "description&quo

正在尝试将此转换为Zapier上的POST请求:

curl https://api.synthesia.io/v1/videos  \
  -H "Authorization: ${API_KEY}" \
  -H "Content-Type: application/json" \
  -X POST \
  -d '{ "title": "Hello, World!", "description": "This is my first synthetic video, made with the Synthesia API!", "visibility": "public", "test": true, "input": [{ "script": "This is my first synthetic video, made with the Synthesia API!", "actor": "anna_costume1_cameraA", "background": "off_white", "soundtrack": "inspirational", "actorSettings": { "horizontalAlign": "center", "scale": 0.9 } } ] }
这是我在Zap里装的东西。得到一个500的错误。


POST操作不允许原始json负载。为此,您需要使用“CustomRequst”操作()

然后,您可以选择POST方法,并将原始json有效负载用于
数据
。所有其他字段都将与您的相同