I have created a small web app in django, where I am sending a post request with parameters. I can clearly see those parameters present in url in django logs but in views those parameters are missing.
url: [18/Mar/2017 12:04:18] "POST /login/[email protected]&Password=******** HTTP/1.1" 200 20 view.py:
if request.method == 'POST':
for x in request.POST:
print(x)
email = request.POST.get("email","")
Password = request.POST.get("Password", "")
print("email: {0}, password:{1}".format(email, Password))