Hi @Schwartz Timothy J ,
Since the way to access sharepoint 2016 is different from sharepoint online,take following steps:
Step 1 – Get your SharePoint site’s FormDigest using Contextinfo call
- In Postman, the contextinfo endpoint URL for your SharePoint Site…something like: https://mySharePointSite/_api/contextinfo
- Set the Accept header: application/json;odata=verbose
- Set the html verb to POST
- Hit Send
With Results:
- Copy the big string of characters inside the <d:FormDigestValue> ~~~ </d:FormDigestValue> tags
Step 2 – Make your HTML GET Request (or POST if you’re posting)
- Enter your endpoint URL…something like: https://mySharePointSite/_api/web/lists/getbytitle(‘MyListName’)/items?$select=Title
- Set the Accept header: application/json;odata=verbose
- Set the HTML verb to GET (if you’re getting data. POST or PUT or whatever if you’re doing something else)
- Add the header X-RequestDigest and paste the FormDigestValue copied above into it
- Hit Send, and you should be good to go
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.