Why is my login not working with Python Requests?
问题 I've been trying to login for the past couple days using Python Requests and have been having issues. Here is my code: import requests LOGINURL = "https://admin.neopets.knetik.com/admin/login" PROTECTEDPAGE = "https://admin.neopets.knetik.com/admin/order_summary/list" payload = { "_target_path": "https://admin.neopets.knetik.com/admin/dashboard", "_username": "***", "_password": "***", "_remember_me": "on", } with requests.session() as session: post = session.post(LOGINURL, data=payload)