Im currently using Postman app to try the various Sharepoint Api.
To retrieve the RequestDigest i understand there has to be an api call to /_api/contextinfo with nothing in Body and Accept as application/json; odata=verbose in the Header. However i get 401 AUTHORIZED error as return rather than the digest value Postman screenshot
I have tried setting the Authorization to Basic in the first tab and entered the domain credentials (which has access to the site) however it still fails.
How to resolve the error
I faced the same issue with Postman Desktop application.
The solution I found is to use the NTLM Authentication.
However, I still have to figure out how to perform this from an external Java application that would reach the REST API.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With