2

I can't figure out how to build the JSON for an HTTP Post:

ie, this doesn't work where [somevariablehere]. How do I manually concat what I want to post along with some dynamnic variables?

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

1 回答 1

3

查看逻辑应用定义语言的文档: 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"
}
于 2017-05-26T01:13:14.643 回答