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
0answers
35 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, ...
0
votes
0answers
15 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(...
0
votes
1answer
184 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 &...
0
votes
0answers
37 views

What do I have to change so that sharepoint properly decodes my base64 document?

I am currently trying to upload a file from Business Central to SharePoint using the REST API. For the sake of simplicity, I first took a picture. I converted this image to BASE64 and attached it to ...
0
votes
1answer
34 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 ...
4
votes
1answer
6k 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
4answers
21k 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
805 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
7k 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 ...