Closed bertt closed 8 years ago
fixed https://github.com/Geodan/gost/commit/85cf985c55a9246637dbef6efa4f25848c22a6ab
{ "error": { "status": "Bad Request", "code": 400, "message": [ "Observation does not exist" ] } }
message must be 'Datastream does not exist'?
woops, fixed
sample:
curl -X POST -H "Accept: application/json" -H "Content-Type: application/json" -d '{ "phenomenonTime": "2016-05-09T11:04:15.790Z", "resultTime" : "2016-05-09T11:04:15.790Z", "result" : 38, "Datastream":{"@iot.id":1} }' "http://gost.geodan.nl/v1.0/Observations"
Actual response: 500 internal server error Expected response: 400 client error