Details
-
Type: Monitor
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:
-
HD-Chapter:Data
-
HD-Enabler:Orion
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":
,
"pressure":
}
EOF
Response:
Cannot POST /v2/entities
2016-09-20 21:05|CREATED monitor | # answers= 1, accepted answer= False