HttpRequest.method
A string representing the HTTP method used in the request. This is guaranteed to be uppercase. Example:
1 2 3 4 | if request.method = = 'GET' : do_something() elif request.method = = 'POST' : do_something_else() |
Please login to continue.