Python Requests Login - The Login Page Returned Without An Error November 30, 2022 Post a Comment 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':''} Copy Your dict looks like this: payload = {'user_field':user_field, 'pass_field':pass_field} Copy 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. Share Post a Comment for "Python Requests Login - The Login Page Returned Without An Error"
Post a Comment for "Python Requests Login - The Login Page Returned Without An Error"