Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [request-digest]

A request digest for security validation contains site secret, time, and user name and should be present in every page served to the client.

3
votes
1answer
2k views

REST API - 403 Forbidden when trying to get FormDigest in Python

I'm working on this Python script to upload file on a SharePoint : from requests_ntlm import HttpNtlmAuth from pypac import PACSession, get_pac session = PACSession(get_pac(url='mypac.pac')) ...
3
votes
3answers
12k views

Sharepoint 2013: Rest API - does header need to include X-RequestDigest?

I'm making progress in learning to use the rest API (HTTP web service) in SPD. WF1: Acivates to a change to a list. WF1 is suppose to launch WF2 using the Rest API. Within WF1 I have the WF2 GUID ...
0
votes
1answer
266 views

Programmatic Checkout of File in SharePoint Online [closed]

I am attempting to automate the check out of a file on my company's SharePoint Online server. I am doing this with Python (2.7.11) and the requests library. Using MSDN Docs I've come accross this ...
3
votes
1answer
3k views

Setting X-RequestDigest from html page

I have html page in an app, I want to submit data to sharepoint using REST, so I don't have access to $("#__REQUESTDIGEST"). How do I get the request digest from my html page? Thanks.
2
votes
2answers
607 views

Sharepoint authentication without CSOM, JS or 3rd party dlls

I am new to Sharepoint. I am trying to create a folder in sharepoint shared folder and this needs to work for both on-premise as well as sharepoint online. The problem that I am facing is, it works ...
0
votes
2answers
5k views

Issue trying to do POST Operations using REST, Error 402, 405

I am trying to do POST operations such update, create and delete items using rest and javascript. I am getting 402 Error mostly attributed this to having a wrong/corrupt requestdigest value. When I ...
3
votes
2answers
2k views

Why do I have to use POST for REST queries?

I am trying to understand the logic with the SharePoint client.svc (_api) Web service. For some queries, for example List GetItems, or search queries, SharePoint requires the use of POST in ajax ...
3
votes
2answers
3k views

SharePoint 2010 FormDigest issue: InvalidFormDigest

I'm getting weird error with publishing pages and form digest. When publishing page is in Published state __REQUESTDIGEST hidden field value is "InvalidFormDigest". I also have Notes web part on this ...