rest api

Till now we are seen basics of models, views, serializes everything. But the most important aspect of any project is the database operations.

In this blog post we will some db operations which were used a in a live project and get more in-depth knowledge of things.

This is one the exciting features of DRF let’s see what it is.

In this blog post we will see more details on View Class and also router.

Let’s get started with django rest api framework as we saw in the last blog.

This article is for the development of a REST API for communication with other users with the help of a REST API called Twilio. Twilio’s APIs (Application Programming Interfaces) is a platform for communications with users globally. Behind these APIs is a software layer connecting and optimizing communications networks around the world to allow your users to call and message anyone anywhere.

Introduction: Requests is a Python module that you can use to send all kinds of HTTP requests. It is an easy-to-use library with a lot of features ranging from passing parameters in URLs to sending custom headers and SSL Verification. we can use requests library very easily like this. import requests req = requests.get('') Now let’s install the requests library. How to Install Requests: You can make use of pip, easy_install, or tarball package managers.

As our code base i getting bigger it’s better if we split our code into different files.

In this article we will see how to integrate database specially mongodb with our api.

Authentication is a very part of any rest api. Authentication means certain routes are protected via login and certain routes are protected via roles.