Closed bertt closed 7 years ago
sample:
http post http://localhost:8080/v1.0/Sensors { "name": "test", "description": "test", "encodingType": "test", "metadata": "Barometer" } actual result: 500 (server error) expected result: 400 (client error)
error: "Encoding not supported. Supported encoding:" file: sensorthings/entities/encodingtypes.go, function CreateEncodingType
sample:
http post http://localhost:8080/v1.0/Sensors { "name": "test", "description": "test", "encodingType": "test", "metadata": "Barometer" } actual result: 500 (server error) expected result: 400 (client error)