January 2019
Intermediate to advanced
378 pages
11h 35m
English
The design goal of Flask-RESTful is to provide resources built on top of Flask pluggable views. The pluggable views provide a simple way (defining a resource method) to access the HTTP methods. Consider the following example code:
class Todo(Resource):
def get(self, user_id):
....
def delete(self, user_id):
....
def put(self, user_id):
args = parser.parse_args()
....
Read now
Unlock full access