[Backlogmanager] [FIWARE-JIRA] (HELP-8951) [fiware-stackoverflow] Can' t POST to /v2/entities

Fernando Lopez (JIRA) jira-help-desk at jira.fiware.org
Wed Sep 12 11:34:00 CEST 2018


     [ https://jira.fiware.org/browse/HELP-8951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Lopez updated HELP-8951:
---------------------------------
    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'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



  was:

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'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



     HD-Enabler: Orion

> [fiware-stackoverflow] Can't POST to /v2/entities
> -----------------------------------------------------
>
>                 Key: HELP-8951
>                 URL: https://jira.fiware.org/browse/HELP-8951
>             Project: Help-Desk
>          Issue Type: Monitor
>          Components: FIWARE-TECH-HELP
>            Reporter: Backlog Manager
>              Labels: fiware, fiware-orion
>
> 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'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



--
This message was sent by Atlassian JIRA
(v6.4.1#64016)


More information about the Backlogmanager mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy