Answers for "django require_POST body"

0

django require_POST body

# body -> {"name":"foo", "surname":"bar}

def my_view(request):
  print(request.POST) # print the QueryDict object
  print(request.POST.get('name') # print foo
Posted by: Guest on October-06-2020

Code answers related to "django require_POST body"

Python Answers by Framework

Browse Popular Code Answers by Language