Botframework Bot框架编写器HTTP请求错误

Botframework Bot框架编写器HTTP请求错误,botframework,azure-logic-apps,bot-framework-composer,Botframework,Azure Logic Apps,Bot Framework Composer,我正在Bot framework composer中开发聊天机器人。在那里,我需要调用Azure logic app,使用bot framework composer HTTP request发送电子邮件。我确实需要配置,但不起作用。有关详细信息,请参阅附件有关更多详细信息,请查看附件中的屏幕截图。 错误代码 {“statusCode”: 400, “reasonPhrase”: “Bad Request”, “headers”: { "Cache-Control": &qu

我正在Bot framework composer中开发聊天机器人。在那里,我需要调用Azure logic app,使用bot framework composer HTTP request发送电子邮件。我确实需要配置,但不起作用。有关详细信息,请参阅附件有关更多详细信息,请查看附件中的屏幕截图。

错误代码

{“statusCode”: 400,
“reasonPhrase”: “Bad Request”,
“headers”: {
"Cache-Control": "no-cache",
"Pragma": "no-cache",
"x-ms-ratelimit-burst-remaining-workflow-reads": "19999",
"x-ms-ratelimit-remaining-workflow-download-contentsize": "1073741824",
"x-ms-ratelimit-time-remaining-directapirequests": "99999999",
"x-ms-request-id": "southeastasia:4b634b23-3f4f-4acc-9ac7-9ddf3b5534c5",
"Strict-Transport-Security": "max-age=31536000; includeSubDomains",
"Date": "Fri, 09 Apr 2021 12:29:03 GMT"},
“content”: {
"error": {
"code": "TriggerRequestMethodNotValid",
"message": "The HTTP method for this request is not valid: expected 'Post' and actual 'GET'."}}}
下面显示Azure logic app中的请求正文JSON模式

{
“财产”:{
“账户”:{
“财产”:{
“ID”:{
“类型”:“字符串”
},
“地址”:{
“财产”:{
“城市”:{
“类型”:“字符串”
},
“国家”:{
“类型”:“字符串”
},
“编号”:{
“类型”:“字符串”
},
“后代码”:{
“类型”:“字符串”
},
“国家”:{
“类型”:“字符串”
},
“街道”:{
“类型”:“字符串”
}
},
“类型”:“对象”
},
“姓名”:{
“类型”:“字符串”
}
},
“类型”:“对象”
}
},
“类型”:“对象”

}
我相信问题已在您的错误响应json负载中确定:

"message": "The HTTP method for this request is not valid: expected 'Post' and actual 'GET'."}}}
将HTTP方法更改为
POST
而不是
GET
,然后重试