Jun-10-2020, 07:46 AM
Hi
OK, then i would suggest before you carry on with python you install postman - link is here - its basically a "REST" client if you haven't used but there is the ability in there to use the NTLM protocol so at least with your user / domain / password combo you can see if you can get it to work form there, this would at least prove it is able to accept you requests. NTLM tbh is pants! it takes 3 request response combinations to authenticate
1. request to ntlm (sharepoint in this case)
2. if authenticated then an authentication "token" is returned in the http headers
3. request is sent with this token and whatever the request body is asking sharepoint to do - fetch docs etc
You can set up the same in SOAPUI and see the aforementoned transations, but I prefer Postman
Once you have established that working then apply the similar to python, especially if the packages you are using are either complex or you can't ascertain what they are doing, it might give some pointers as to where the error is.
If you need additional help with the postman set up am happy to help
OK, then i would suggest before you carry on with python you install postman - link is here - its basically a "REST" client if you haven't used but there is the ability in there to use the NTLM protocol so at least with your user / domain / password combo you can see if you can get it to work form there, this would at least prove it is able to accept you requests. NTLM tbh is pants! it takes 3 request response combinations to authenticate
1. request to ntlm (sharepoint in this case)
2. if authenticated then an authentication "token" is returned in the http headers
3. request is sent with this token and whatever the request body is asking sharepoint to do - fetch docs etc
You can set up the same in SOAPUI and see the aforementoned transations, but I prefer Postman
Once you have established that working then apply the similar to python, especially if the packages you are using are either complex or you can't ascertain what they are doing, it might give some pointers as to where the error is.
If you need additional help with the postman set up am happy to help
Regards
-------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.”
-------- *
“Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.”