Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-16854

[fiware-stackoverflow] No substitution in httpCustom payload

    Details

      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: $

      {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 !!

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2020-07-25 00:05|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-07-25 00:05|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-07-30 12:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2020-07-30 12:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2020-07-30 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2020-07-30 15:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            Unassigned
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: