What is REST API? Django REST [DRF]

Published: Feb. 27, 2020, 10:31 a.m.

Live development on Twitch (streaming) - vk.cc/awe0iU

LinkedIn - https://www.linkedin.com/in/alex-cher/


REST is a shorthand for REpresentational State Transfer. It describes an architecture that is used for the purpose of web APIs for data communication. It also supports some of the common HTTP methods to make interaction between the machines or applications. HTTP methods: 1 GET The GET method is used to retrieve information from the given server using a given URI. Requests using GET should only retrieve data and should have no other effect on the data. 2 HEAD Same as GET, but transfers the status line and header section only. 3 POST A POST request is used to send data to the server, for example, customer information, file upload, etc. using HTML forms. 4 PUT Replaces all current representations of the target resource with the uploaded content. 5 DELETE Removes all current representations of the target resource given by a URI. 6 CONNECT Establishes a tunnel to the server identified by a given URI. 7 OPTIONS Describes the communication options for the target resource. 8 TRACE Performs a message loop-back test along the path to the target resource.

Apple Podcasts - https://link.chtbl.com/Apple_Podcasts

Spotify - https://link.chtbl.com/8_-EyCh1

Google Podcasts - https://link.chtbl.com/kQr7HKma

Castbox - https://link.chtbl.com/rVlRcBZN


Get early access and exclusive content:

https://www.patreon.com/angrydeveloper