Final Exam: Building Restful Web Services with Python - add a middleware layer into your app to verify authorization information in HTTP request headers
- build an API to return images in response to a GET request
- classify the purpose of the various built-in applications in Django
- configure a Flask-RESTful request parser to parse arguments from different locations
- configure required parameters using the Flask-RESTful request parser
- create a basic REST API to return JSON data
- create a custom class that takes in an ID for a model instance and returns details of that instance
- create an OpenAPIHandler instance which dynamically generates documentation for your Molten application
- create a REST API with a route that responds to GET requests
- create a superuser for your Django project and sign in to the Django user administration app
- create a virtual environment from which Molten REST APIs can be run and install various libraries such as Molten, Pytest, and JQ
- create custom error messages for specific error handling using MySQL Database and Flask-RESTful
- create several child Django templates which inherit from a parent template
- create the view and template for a basic logout page for the logged in users of your website
- define a Django model and create a migration script for that model
- define a middleware layer which distinguishes between requests when checking for authorization
- define a view and a URL pattern in Django in order to render text in a web page
- define a view which renders an HTML file in its response
- define the settings for your app by loading a dictionary into the Molten SettingsComponent
- develop a basic Molten app with a single route that takes in a query parameter with a QueryParam instance and returns a value based on that parameter
- develop a URL pattern for two different but related apps in a Django project
- develop inherited Django templates for a website
- develop some basic tests to verify the behavior of your Molten application
- generate a new Django project and explore the built-in Django admin app
- identify important Django components that receive and process user requests
- identify the building blocks that Django provides to develop web applications
- identify the location of stored media in your Django project directory
- identify the purpose of the various built-in applications in Django
- implement methods to respond to GET, POST, PUT, and DELETE HTTP requests using the Flask-RESTful library
- implement the Flask-RESTful library to bundle parsing errors
- include an image within a Django model
- incorporate an image within a Django model
- install Flask-RESTful and set up a virtual environment on macOS
- install the curl utility and Flask-RESTful Python library and set up a virtual environment on a Windows machine
- install the Django REST framework
- install the Django REST framework and create a Django model to serve API requests
- install the SQLAlchemy library, connect to a database, and insert records in the database
- issue GET requests to your Django app and analyze the responses that are generated
- list the use cases of Django templates, such as to create views, and identify their role in an application
- migrate a Django model to a database
- migrate a Django model to a database and register a model with the Django user administration site
- outline the role of models in allowing programmatic manipulation of database tables
- perform various select-from-where operations on the data stored as instances in a Django model class
- recall the building blocks that Django provides to develop web applications
- recognize important Django components that receive and process user requests
- recognize the building blocks that Django provides to develop web applications
- send data in a POST request using the request body
- specify custom error messages for missing arguments using the Flask-RESTful library
- use a request parser to parse input arguments sent in a request body
- use the copy method to inherit from a predefined request parser via Flask-RESTful
- use the dump_schema function to convert a schema object to a Python dictionary
- use the Flask-RESTful library to bundle parsing errors
- use the ListView view class to access all the data stored in a Django model class
- use the ListView view class to access all the data stored in a Django model class as a list of records
- use the load_schema function to convert a Python dictionary to a schema object and use the is_schema function to check whether an object is a schema instance
- use the marshal() function, marshal_with, and data_class decorators\
- use the marshal() function, marshal_with, and data_class decorators to serialize an object to JSON format
- use the OpenAPIUIHandler class to generate a Swagger UI for your Molten application
- wire up the methods to add and retrieve data with the MySQL database
- wire up the method to delete data with the MySQL database
|