In this chapter, we will work with Tornado to create a RESTful Web API and start working with this lightweight Web framework. We will cover the following topics:
Designing a RESTful API to interact with slow sensors and actuators
Understanding the tasks performed by each
HTTP
methodSetting up a virtual environment with Tornado
Declaring status codes for the responses
Creating the classes that represent a drone
Writing request handlers
Mapping URL patterns to request handlers
Making HTTP requests to the Tornado API
Working with command-line tools - curl and HTTPie
Working with GUI tools - Postman and others