Closed kjlippold closed 2 months ago
Use SensorThings to query a resource without wrapping the ID in quotes, such as: http://beta.hydroserver2.org/api/sensorthings/v1.1/Things(96568748-eb4e-45b0-a621-04636df684a5)
These types of requests should return 400 responses since the API expects IDs to be wrapped in quotes.
The API is currently not handling the issue correctly and returning a 500 code.
No response
https://github.com/hydroserver2/hydroserver-sensorthings/commit/b5ca1b138946c5d450429bb6040ec490c6eef2ec
Steps to Reproduce
Use SensorThings to query a resource without wrapping the ID in quotes, such as: http://beta.hydroserver2.org/api/sensorthings/v1.1/Things(96568748-eb4e-45b0-a621-04636df684a5)
Expected Behavior
These types of requests should return 400 responses since the API expects IDs to be wrapped in quotes.
Actual Behavior
The API is currently not handling the issue correctly and returning a 500 code.
Any additional comments?
No response