O'Reilly logo

Learning Django Web Development by Ratan Kumar, Sanjeev Jaiswal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building REST APIs in Django

Representational State Transfer (REST) is the underlying architectural principle of the Web. Any API that follows REST principles is designed so that the client who is the browser here does not need to know anything about the structure of the API. The API server only needs to respond to the request made by clients.

HTTP works on the verbs that get applied to the resources. Some of the verbs that are very popular are GET and POST, but there exists other important verbs, such as PUT, DELETE, and so on.

For example, we will use our Twitter database, which is managed by a web service as the REST API. For all REST communication, the media type is the main thing that an API server has to care about, and the format in which ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required