I'm trying to get a report from SQL Server Reporting Services with the py package requests, but I'm getting the 401 error. If I access the SQL server via web, there is a pop-up asking me for user/pwd, I guess I'm failing to replicate this step via Python code.
These don't work:
url = "report-url"
requests.get(url, auth=(usr,pwd))
session = requests.Session()
session.auth = (usr,pwd)
session.get(url)