-2
Code:
import requests
username = 'admin'
password = 'admin'
headers = {'login': username,
'password': password
}
url = 'http://192.162.1.122/ISAPI/Event/notification/httpServers/ID'
r = requests.put(url, headers=headers)
print(r.status_code)
print(r.text)
Upshot:
Relate the item
Document Error: Unauthorized
Access Error: 401 -- Unauthorized
Authentication Error
Process finished with Exit code 0
Documentation:
By the documentation print that is Soap my dear.
– SakuraFreak
I believe that yes, the documentation lacks data, this complicated
– Ricardo Campos