致力于使用 zapier CLI 创建自定义 zapier 集成。我的 API 端点在技术上不是 create,但它使用 POST 方法,所以我在 zapier 中的 create 定义下创建它。我将输出字段设置为空,但它在我的空响应对象上中断。
outputFields: []
错误信息:
We had trouble sending your test through.
Unexpected end of JSON input
Hide details
Troubleshooting Errors | Contact Support
What happened (You are seeing this because you are an admin):
Starting POST request to https://api.fake.com/v2/demo-finance/live/csh-search
Received 202 code from https://api.fake.com/v2/demo-finance/live/csh-search after 596ms
Received content ""
Unexpected end of JSON input
一切都按预期工作,请求通过它只是对空字符串响应不是有效的 JSON 不满意。有没有办法告诉 zapier 这是一个可接受的响应对象?