Make both work, GET and POST, to update sensor data