Oct-17-2022, 01:06 AM
Hi gurus .
I m still very new to python so go easy on me, I have been trying to create this project that login to a website, what I have so far is the following:
can someone help me find out what I am doing wrong
Thanks
I m still very new to python so go easy on me, I have been trying to create this project that login to a website, what I have so far is the following:
import requests LoginURL = 'https://logicmonitor.com/santaba/rest/setting/admins/services/signin' Payload = { 'username': 'username', 'password': 'mypassword' } r = requests.post(LoginURL, params=Payload) print(r.text)once I run it I get the 401 auth error
can someone help me find out what I am doing wrong
Thanks