I have been looking all over to see if there is a simple way to write an NTLM response to a local XML file. How would I go about doing this?
import requests
import ntlm3 as ntlm
from requests_ntlm import HttpNtlmAuth
SITE = "website.com/_api/..."
USERNAME = 'user'
PASSWORD = 'pass'
response = requests.get(SITE, auth=HttpNtlmAuth(USERNAME,PASSWORD))
print(response.status_code)
print(response.text)