How to get request digest value from provider hosted app?

前端 未结 4 1435
情深已故
情深已故 2021-01-31 18:36

I am developing SharePoint 2013 Provider hosted app using javascript REST Api. In order to perform create (POST), or update (MERGE) operations on sharepoint items I need to set

4条回答
  •  天涯浪人
    2021-01-31 19:31

    The RequestExecutor actually takes care of the RequestDigest for you. You don't have to get it.

    If for some reason, you still want to get the RequestDigest value, try doing the call without changing the context site.

提交回复
热议问题