本文介绍了HTTP请求是否处理了Tranfer-Encoding chunked?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 
$


我正在尝试使用HTTP请求通过我的网络挂钩发送json正文。我已经尝试过麻烦了,我认为这是因为我的应用程序使用transfert-type chunked,因此省略了内容长度。 



在这种情况下,我没有收到内容正文: 
$


Hi, 

I'm trying to use HTTP Request to send a json body through my web-hook. I've tried to troubelshoot, and I think it's because my application is using transfert-type chunked and hence omitting the content-lenght. 

In that case, I did not receive the content body : 

{
    "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"
    }
}

您是否知道在Logic App中使用HTTP请求触发器时我们如何处理这些情况?

Do you know how we handle those situations when using HTTP Request trigger in Logic App ?

推荐答案

https://docs.microsoft.com/ en-us / azure / logic-apps / logic-apps-handle-large-messages#set-up-chunking-over-http


这篇关于HTTP请求是否处理了Tranfer-Encoding chunked?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 13:41