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

FIWARE.Question.Tech.Data.OrionContextBroker.Can't POST to /v2/entities

    Details

      Description

      Created question in FIWARE Q/A platform on 20-09-2016 at 14:09
      Please, ANSWER this question AT http://stackoverflow.com/questions/39594290/cant-post-to-v2-entities

      Question:
      Can't POST to /v2/entities

      Description:
      We can successfully receive our X-Auth Token by making a call to https://orion.lab.fiware.org/token but, following the official documentation, we are getting error responses from the global Orion instance

      Here is a sample call we are using from the documentation:

      curl localhost:1026/v2/entities s -S --header 'Content-Type: application/json' -d @ <<EOF
      {
      "id": "Room1",
      "type": "Room",
      "temperature":

      { "value": 23, "type": "Float" }

      ,
      "pressure":

      { "value": 720, "type": "Integer" }

      }
      EOF

      Response:

      Cannot POST /v2/entities

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-20 21:05|CREATED monitor | # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-20 21:05|CREATED monitor | # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-21 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-21 00:05|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        Hide
        backlogmanager Backlog Manager added a comment -

        2016-09-21 03:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2016-09-21 03:05|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        Hide
        fermin Fermín Galán added a comment -
        Show
        fermin Fermín Galán added a comment - Duplicates https://jira.fiware.org/browse/HELP-7324

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: