Skip to content Skip to sidebar Skip to footer

Accessing Sharepoint Project Web App Rest From Separate App

I need to connect to our corporate PWA. This is the code I'm using: // var endpointUrl = 'https://.sharepoint.com/sites/pwa/_api/web/lists'; var endpointUrl = 'h

Solution 1:

You need to use a FormDigestValue.

Make a GET call to .../_api/contextinfo and store the value of 'FormDigestValue'. Then for all your other calls, add a header of X-RequestDigest: <FormDigestValue>

Post a Comment for "Accessing Sharepoint Project Web App Rest From Separate App"