RESTful web applications with Arduino and Python
In the previous exercise, we implemented the GET
and POST
requests using the web.py
library. These requests are actually part of the most popular communication architecture of the
World Wide Web (WWW) called REST. The REST architecture implements a client-server paradigm using the HTTP protocol for operations such as POST
, READ
, and DELETE
. The GET()
and POST()
functions, implemented using web.py
, are functional subsets of these standard HTTP REST operations, that is, GET
, POST
, UPDATE
, and DELETE
. The REST architecture is designed for network applications, websites, and web services to establish communication through HTTP-based calls. Rather than being just a set of standard rules, the REST architecture utilizes existing web technologies and protocols, making it a core component of the majority of the websites we use today. Due to this reason, the WWW can be considered to be the largest implementation of REST-based architecture.