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

[fiware-stackoverflow] 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 https://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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        2h 56m 1 Backlog Manager 22/May/17 6:07 PM
        In Progress In Progress Closed Closed
        3h 1 Backlog Manager 22/May/17 9:07 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        fla Fernando Lopez made changes -
        Assignee Backlog Manager [ backlogmanager ]
        fla Fernando Lopez made changes -
        HD-Enabler Orion [ 10875 ]
        Description
        Created question in FIWARE Q/A platform on 20-09-2016 at 14:09
        {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/39594290/cant-post-to-v2-entities


        +Question:+
        Can&#39;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 @- &lt;&lt;EOF
        {
          "id": "Room1",
          "type": "Room",
          "temperature": {
            "value": 23,
            "type": "Float"
          },
          "pressure": {
            "value": 720,
            "type": "Integer"
          }
        }
        EOF


        Response:

        Cannot POST /v2/entities

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


        +Question:+
        Can&#39;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 @- &lt;&lt;EOF
        {
          "id": "Room1",
          "type": "Room",
          "temperature": {
            "value": 23,
            "type": "Float"
          },
          "pressure": {
            "value": 720,
            "type": "Integer"
          }
        }
        EOF


        Response:

        Cannot POST /v2/entities

        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 21:09|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 21:09|UPDATED status: transition Finish| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Resolution Done [ 10000 ]
        Status In Progress [ 3 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 18:09|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 18:09|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2017-05-22 15:13|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2017-05-22 15:13|CREATED monitor | # answers= 1, accepted answer= True
        backlogmanager Backlog Manager created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved: