Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
Description
Created question in FIWARE Q/A platform on 24-07-2020 at 21:07
Please, ANSWER this question AT https://stackoverflow.com/questions/63080163/no-substitution-in-httpcustom-payload
Question:
No substitution in httpCustom payload
Description:
I would like to make a httpCustom payload in OCB but no replace info properly. I think i have tested all the ways i know but no results, someone who could help me. This is my code:
"notification": {
"httpCustom": {
"url": "http://xxxx.xxxx.xxxx:8080/api/v1/telemetry",
"payload": "[{ temperature: $
, humidity: $
{humidity}, battery: $
{battery} }]"
},
"attrs": [
"temperature","humidity","battery"
]
},
I have no error when i do subscription, but when i test in my end point no replace for the macros $
{...}, the payload take object information compose but with no values.
Orion VersiĆ³n: 2.1.0
Any help ? Thanks in advance !!
2020-07-25 00:05|CREATED monitor | # answers= 0, accepted answer= False