POST/api/auth/login #39
-
I run Windows 11, and MicroStrategy 2021 Update 11. Can someone please tell me what is wrong with this simple code: PROJECT_NAME = 'Tutorial Project' conn = Connection( def POST_api_auth_login(connection): HTTP_response = POST_api_auth_login(conn) #<class 'requests.models.Response'> conn.close() I get error: I copied and pasted this code exactly from the code snippets, and this code works on another machine. So I am stumped. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@ChristiaanEmpowerBI The parameter name is |
Beta Was this translation helpful? Give feedback.
-
I use this code at work and it works. I have no idea why at home it does not want the full url but at work it does: PROJECT_NAME = 'Tutorial Project' conn = Connection( def POST_api_auth_login(connection): HTTP_response = POST_api_auth_login(conn) conn.close() |
Beta Was this translation helpful? Give feedback.
@ChristiaanEmpowerBI The parameter name is
url
notendpoint