Python Requests Login - The Login Page Returned Without An Error December 02, 2024 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 payloadpayload = {'loginName':user_field, 'loginPwd':password_field, 'btnLogin':''} CopyYour dict looks like this:payload = {'user_field':user_field, 'pass_field':pass_field} CopyThe 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"