Add query parameter parsing
Closed this issue · 0 comments
christoff-linde commented
Description
Currently, the update_sensor
endpoint accepts a POST
request, with the relevant sensor data sent as part of the response body as JSON
.
(For now) the esp-32 firmware only supports sending HTTP/GET requests, with the data in query params. The backend API should be updated to support this functionality.
Task List
- Refactor current
update_sensor
endpoint to beGET
- Add Query parameter parsing support