Final Exam: Building Restful Web Services with Python
Python
| Intermediate
- 1 video | 32s
- Includes Assessment
- Earns a Badge
Final Exam: Building Restful Web Services with Python will test your knowledge and application of the topics presented throughout the Building Restful Web Services with Python track of the Skillsoft Aspire Pythonista to Python Master Journey.
WHAT YOU WILL LEARN
-
Wire up the method to delete data with the mysql databasecreate the view and template for a basic logout page for the logged in users of your websitedefine a view which renders an html file in its responsemigrate a django model to a databaseidentify important django components that receive and process user requestsidentify the purpose of the various built-in applications in djangoinclude an image within a django modelrecall the building blocks that django provides to develop web applicationscreate custom error messages for specific error handling using mysql database and flask-restfulimplement the flask-restful library to bundle parsing errorsbuild an api to return images in response to a get requestconfigure a flask-restful request parser to parse arguments from different locationsidentify the location of stored media in your django project directorydefine a view and a url pattern in django in order to render text in a web pagecreate several child django templates which inherit from a parent templatecreate an openapihandler instance which dynamically generates documentation for your molten applicationrecognize important django components that receive and process user requestsspecify custom error messages for missing arguments using the flask-restful librarygenerate a new django project and explore the built-in django admin appincorporate an image within a django modeluse a request parser to parse input arguments sent in a request bodyuse the listview view class to access all the data stored in a django model classperform various select-from-where operations on the data stored as instances in a django model classconfigure required parameters using the flask-restful request parserdevelop inherited django templates for a websiteuse the listview view class to access all the data stored in a django model class as a list of recordscreate a superuser for your django project and sign in to the django user administration appinstall the sqlalchemy library, connect to a database, and insert records in the databasecreate a custom class that takes in an id for a model instance and returns details of that instancesend data in a post request using the request body
-
define a django model and create a migration script for that modeldevelop a url pattern for two different but related apps in a django projectuse the copy method to inherit from a predefined request parser via flask-restfulinstall the django rest framework and create a django model to serve api requestswire up the methods to add and retrieve data with the mysql databaselist the use cases of django templates, such as to create views, and identify their role in an applicationdevelop 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 parameteruse the marshal() function, marshal_with, and data_class decorators to serialize an object to json formatidentify the building blocks that django provides to develop web applicationscreate a basic rest api to return json datamigrate a django model to a database and register a model with the django user administration siteinstall the curl utility and flask-restful python library and set up a virtual environment on a windows machinecreate a rest api with a route that responds to get requestsinstall the django rest frameworkcreate a virtual environment from which molten rest apis can be run and install various libraries such as molten, pytest, and jqoutline the role of models in allowing programmatic manipulation of database tablesuse the flask-restful library to bundle parsing errorsrecognize the building blocks that django provides to develop web applicationsuse the openapiuihandler class to generate a swagger ui for your molten applicationdefine the settings for your app by loading a dictionary into the molten settingscomponentissue get requests to your django app and analyze the responses that are generatedadd a middleware layer into your app to verify authorization information in http request headersdevelop some basic tests to verify the behavior of your molten applicationdefine a middleware layer which distinguishes between requests when checking for authorizationuse the dump_schema function to convert a schema object to a python dictionaryinstall flask-restful and set up a virtual environment on macosclassify the purpose of the various built-in applications in djangouse 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 instanceimplement methods to respond to get, post, put, and delete http requests using the flask-restful libraryuse the marshal() function, marshal_with, and data_class decorators\
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.