Course Content
Django REST Framework
Django REST Framework
PUT and DELETE Methods
The HTTP method PUT is used to modify or update an existing resource on the server. A PUT request sends data that should be saved or updated on the server, identifying the resource to update by its unique identifier (typically the resource ID or URL).
The HTTP method DELETE is used for removing a resource from the server. When a client application (such as a web browser or a mobile app) sends a DELETE request to the server, it signifies that the client wants to delete a specific object or resource from the server's database.
Thanks for your feedback!