【问题标题】:Azure Logic App, can not send message to service BusAzure Logic App,无法向服务总线发送消息
【发布时间】:2017-05-02 18:28:42
【问题描述】:

发送消息动作总是说 “收到的消息无法解析并且为空” Error output

输入是json数组。 Input information and data

有什么建议吗?

谢谢

【问题讨论】:

  • 在此页面上发布您的信息(我们需要更多帮助您);不要使用链接。

标签: azure logic


【解决方案1】:

想通了。

看起来向服务总线发送消息需要对消息内容进行 base64 编码。由于内容是 JSON,因此需要在编码之前对其进行显式字符串化,即使用 @encodeBase64(string(jsonContent))

将内容类型更改为 text/plain 具有相同的效果,因为在这种情况下,内容被视为以字符串开头。

【讨论】:

  • 这个答案应该比我更突出:)
猜你喜欢
  • 2022-08-05
  • 2021-09-09
  • 1970-01-01
  • 1970-01-01
  • 2021-11-30
  • 2021-08-14
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多