Feature Description
Create API code that will be called by the Arduino. Whenever the fountain detects that one bottle has been saved, call the increment API.
Requirements
The increment API should be a POST request. In the URL, the Arduino should pass its own ID. After the API knows the ID, it will find the corresponding fountain in the database and increment its bottle counter value.
Feature Description Create API code that will be called by the Arduino. Whenever the fountain detects that one bottle has been saved, call the increment API.
Requirements The increment API should be a POST request. In the URL, the Arduino should pass its own ID. After the API knows the ID, it will find the corresponding fountain in the database and increment its bottle counter value.