Web Applications with Django: Developing REST APIs

Django 3.1    |    Intermediate
  • 10 videos | 1h 13m 16s
  • Includes Assessment
  • Earns a Badge
Rating 4.7 of 12 users Rating 4.7 of 12 users (12)
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 course
    Install the django rest framework and create a django model to serve api requests
    Create a rest api with a route that responds to get requests
    Issue get requests to your django app and analyze the responses that are generated
    Develop 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 requests
    Create a custom class that takes in an id for a model instance and returns details of that instance
    Create a custom class which accepts data in a put request and uses it to update a resource
    Build an api to return images in response to a get request
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 36s
  • 9m 33s
  • Locked
    3.  Creating a Serializer for a Django Model
    9m 37s
  • Locked
    4.  Testing Django App HTTP GET Request Handling
    7m 34s
  • Locked
    5.  Processing HTTP POST Requests in Django Apps
    8m 20s
  • Locked
    6.  Issuing HEAD and OPTIONS Requests in Django Apps
    8m
  • Locked
    7.  Returning Specific Model Instances in Django Apps
    5m 39s
  • Locked
    8.  Handling PUT and DELETE Requests in Django Apps
    11m 6s
  • Locked
    9.  Retrieving Images with GET Requests in Django Apps
    8m 47s
  • Locked
    10.  Course Summary
    2m 5s

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

Rating 4.3 of 26 users Rating 4.3 of 26 users (26)
Rating 4.4 of 12 users Rating 4.4 of 12 users (12)
Rating 3.0 of 2 users Rating 3.0 of 2 users (2)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.5 of 373 users Rating 4.5 of 373 users (373)
Rating 4.4 of 10 users Rating 4.4 of 10 users (10)
Rating 4.5 of 134 users Rating 4.5 of 134 users (134)