{
"Query": {
"inputs": {
"headers": {
"Content-Type": "application/json"
},
"method": "GET",
"queries": {
"f": "json",
"temp": "\"test\": @json(body('http'))['candidates'][0]['location']['x']"
},
"uri": "https://testurl.com/restApi"
},
"runAfter": {
},
"type": "Http"
}
}
它将“temp”读作“test”:@json(body('http'))['candidates'] [0] ['location'] [“X”]”Azure逻辑应用程序http连接器不会解析查询中的json
如果我改变了行
"temp": "@json(body('http'))['candidates'][0]['location']['x']"
它读取JSON正确的值。不知道它的一个bug,或我错过了一些语法。
谢谢了。这工作。 – Dhrumil