Bouthaina Tlijani

Bouthaina Tlijani

  • NA
  • 265
  • 23.1k

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

Answers (5)