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.
Python Programming for Arduino
Python Programming for Arduino
Overview of this book
Table of Contents (18 chapters)
Python Programming for Arduino
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Getting Started with Python and Arduino
Working with the Firmata Protocol and the pySerial Library
The First Project – Motion-triggered LEDs
Diving into Python-Arduino Prototyping
Working with the Python GUI
Storing and Plotting Arduino Data
The Midterm Project – a Portable DIY Thermostat
Introduction to Arduino Networking
Arduino and the Internet of Things
The Final Project – a Remote Home Monitoring System
Tweet-a-PowerStrip
Index
Customer Reviews