Web Applications with Django: Developing REST APIs
Django 3.1 | Intermediate
- 10 videos | 1h 13m 16s
- Includes Assessment
- Earns a Badge
Among Django's many out-of-the-box tools is the REST Framework package, which includes libraries to build APIs. In this course, you'll install and work with this package to allow users to access and submit data to your web application. You'll start by defining a simple model whose instances can be accessed and manipulated using REST APIs. To make this happen, you'll use the built-in Django ModelSerializer class. You'll then wire up your Django REST API to return a list of JSON values from your Django model whenever a GET request is sent. You'll also use the Django REST framework's built-in web UI and the curl command-line utility to send POST requests to submit data to the server and use it to create model instances. Moving on, you'll briefly examine the use of HEAD and OPTION requests before wrapping up with a short exploration of PUT and DELETE requests.
WHAT YOU WILL LEARN
discover the key concepts covered in this courseinstall the Django REST framework and create a Django model to serve API requestscreate a REST API with a route that responds to GET requestsissue GET requests to your Django app and analyze the responses that are generateddevelop an application so that a Django model instance is created for data sent through POST requests
use HEAD and OPTIONS requests and test the validation of POST requestscreate a custom class that takes in an ID for a model instance and returns details of that instancecreate a custom class which accepts data in a PUT request and uses it to update a resourcebuild an API to return images in response to a GET requestsummarize the key concepts covered in this course
IN THIS COURSE
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.
YOU MIGHT ALSO LIKE
PEOPLE WHO VIEWED THIS ALSO VIEWED THESE