title: django request method dynamically
body: <p>I know that request.method will give the type either 'GET' or 'POST' as string and to get any particular parameter we give request.GET.get('parameter') or request.POST.get('parameter')</p>
  
  <p>Now I want to get the GET or POST dictionary dynamically avoiding If conditions.  </p>