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
0 answers
15 views

Getting form digest without using SOAP [duplicate]

Is there a way to get the Form Digest value without using a SOAP call? Because accessing CSOM SharePoint web services require digest value, and because the form digest request requires SOAP, we are ...
user avatar
0 votes
1 answer
295 views

Sharepoint API creating folder 403

I am new to the SharePoint API. I am trying to create folders in a customer SharePoint solution. Problem is i'm getting a 403 return. My request.: POST https://companyname.sharepoint.com/sites/Test/...
user avatar
  • 23
0 votes
0 answers
428 views

NodeRed POST request to Sharepoint REST API

I want to upload files on Sharepoint and I'm using Node Red for communicate with REST Sharepoint API. As far as I know, first of all I need to request a diggest token for the POST communication: so, ...
user avatar
0 votes
0 answers
119 views

Update requestdigest value

I have a custom sp 2013 page with content editor webpart, js referred from site assets, I am using rest api to perform crud If I do a post request, I am passing the $("#__REQUESTDIGEST").val(...
user avatar
0 votes
1 answer
379 views

FormDigestValue empty in Sharepoint Site using PowerShell

So, I was originally trying to create an item in a Sharepoint site, but as I took a 403 as response, and searched, I needed to put the X-RequestDigest header to work. I tried to fetch it using the &...
user avatar
0 votes
1 answer
38 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 ...
user avatar
5 votes
1 answer
7k 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')) ...
user avatar
4 votes
4 answers
25k 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 ...
user avatar
3 votes
1 answer
4k 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.
user avatar
3 votes
2 answers
846 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 ...
user avatar
0 votes
2 answers
8k 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 ...
user avatar
4 votes
2 answers
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 ...
user avatar
  • 5,281
3 votes
2 answers
4k 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 ...
user avatar
  • 91