Posts

Showing posts from October, 2020

Django Rest Framework

  * REST stand for Representational State transfer * Rest consumer is our web browser and Rest provider is our website * So we can connect to the rest provider with the rest consumer with HTTP protocol and in almost all the website we can perform the CRUD operation  through post, read, patch,delete methods * Our restful provider should support multiple formats and HTTP make it very easy * Restful services offers interoperable meaning any application running on any platform written in any language can be consumed by any other application running on completely different platform written in different language and that through multiple data format (JSON,XML,CSV) * Django Rest Framework * Django rest framework is extension of django framework that make it super easy for developers to create and maintain restful api * We can create rest API through class based views as well as function based views * DRF offer Serializers * We get the request form different websites n the form of XML...