【发布时间】:2019-08-29 10:42:40
【问题描述】:
我正在尝试使用我的 webhook 设置 HTTP 请求触发的逻辑应用。
逻辑应用(输出)中的请求接收到的头部如下:
{
"headers": {
"Transfer-Encoding": "chunked",
"Accept": "*/*",
"Accept-Encoding": "gzip; q=1.0,deflate; q=0.6,identity; q=0.3",
"Host": "prod-23.westus.logic.azure.com",
"User-Agent": "AgentID,
"X-Looker-Webhook-Token": "securitytoken",
"X-Looker-Instance": "instanceid",
"X-Looker-Webhook-Id": "webhookid",
"Content-Type": "application/json",
"Content-Length": "0"
}
}
总是收到 Content-Lenght,当我使用 Postman 执行完全相同的请求时,它工作得很好。
我怀疑分块编码,但尝试使用 webhook.site,所有数据都是一次接收的,而不是多个块。
【问题讨论】:
标签: api request azure-logic-apps