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.

Filter by
Sorted by
Tagged with
0
votes
1answer
28 views

SharePoint — GetXRequestDigest call is failing with 403

We are trying to connect Sharepoint online instance using SAML Authentication. We are trying to create site using Rest API. As we are using SAML authentication , we need to use /contextinfo to obtain ...
3
votes
1answer
3k 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
16k 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 ...
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
719 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
6k 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 ...