繁体   English   中英

Azure 逻辑应用 HTTP Post 使用动态变量构建 JSON

[英]Azure Logic App HTTP Post build JSON with Dynamic Variables

我不知道如何为 HTTP Post 构建 JSON:

即,这在 [somevariablehere] 中不起作用。 如何手动连接我想发布的内容以及一些动态变量?

{
  "color": "green", 
  "message": "(awesome) [somevariablehere]   ", 
  "notify": false, 
  "message_format": "text"
}

查看逻辑应用定义语言的文档: https : //docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

例如,您可以使用concat函数连接字符串

{
  "color": "green", 
  "message": "@concat('awesome', actionBody('otherAction').someProperty)", 
  "notify": false, 
  "message_format": "text"
}

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM