June 2017
Beginner to intermediate
274 pages
6h 49m
English
Let's build a microservice that maintains a database of information about people-first name, last name, age, and for interest's sake, whether or not they are members of a particular club.
We'll use the POST, GET, PUT, and DELETE methods of HTTP to allow the clients of the microservice to create, access, update, and remove records from the database. Also, we'll provide the data in JSON format, but accept the input using the normal HTTP form encoding.
These choices are all very normal. The only, slightly-less-common choice would be to have incoming data in JSON format as well, which we accommodate by calling the request.get_json function of Flask when we need the data.
So, which boilerplate code ...
Read now
Unlock full access