Bouthaina Tlijani

Bouthaina Tlijani

  • 1.7k
  • 265
  • 12k

REQUESTDIGEST in Sharepoint online SPA

May 31 2018 6:44 AM
Hello guys,
I've created a Sharepoint Online SPA using AngularJS and Breeze (with HotTowel.Angular module),and in order to perform a POST operation i need to set the 'X-RequestDigest' header with the request but unfortunately i can't use $('#__REQUESTDIGEST').val(); because it's not available to a provider hosted app.
Do you have any idea please?
Thanks in advance

Brought to you by:

Answers (5)