The Arduino REST API is a mechanism to exchange data between Arduino and other external systems. When exploiting the Arduino REST API, a client application reads or sends information to an Arduino board. A typical use case for the Arduino REST API is an external system or application that retrieves sensor values.
Arduino Rest API: aRest library
To implement the REST API paradigm there is an interesting library called aREST . This library is a framework that supports REST services and provides several features.
Using this library we can implement Arduino REST API paradigm because aREST support
- Reads pin values in REST style
- Writes pin values in REST style
- Remote sketch function calls
You can learn how to use the Arduino REST API to send and receive data from Arduino using REST style request through this project.
For more information, please refer to the following link.
https://dzone.com/articles/implement-arduino-rest-api-in-iot-projects
Source : https://dzone.com/articles/implement-arduino-rest-api-in-iot-projects
COMMENTS