Skip to content Skip to sidebar Skip to footer

Python Requests Login - The Login Page Returned Without An Error

I'm trying to login to a webpage using python requests and the result is the same login page, without any login error. This is the login form:

Use this payload

payload = {'loginName':user_field,
           'loginPwd':password_field,
           'btnLogin':''}

Your dict looks like this:

payload = {'user_field':user_field,
           'pass_field':pass_field}

The dict's keys don't have the same name of the real data, and you missed the btnLogin field. Sadly with any false information, the webserver will trash your request, because it has a specific "hard-coded" values which have to passed.


Post a Comment for "Python Requests Login - The Login Page Returned Without An Error"