+3 votes
in Class 12 by kratos

Differentiate between Django GET and POST method.

1 Answer

+2 votes
by kratos
 
Best answer

GET and POST.

GET and POST are the only HTTP methods to use when dealing with forms. Django'* login form is returned using the POST method, in which the browser bundles up the form data, encodes it for transmission, sends it to the server, and then receives back its response.

Both of these are dictionary-like objects that give you access to GET and POST data. POST data generally is submitted from an HTML, while GET data can come from a or the query string in the page'* URL.

...