This repository was archived by the owner on Jan 18, 2021. It is now read-only.
This repository was archived by the owner on Jan 18, 2021. It is now read-only.
sprLib.folder().add() requires requestDigest / security token #55
Open
Description
Hi,
I'm using the SpRestLib in Node and was unable to make sprLib.folder().add() work, I always got the error message "The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.".
When I do the call manually via
sprLib.rest({ type: "POST", url: vURL, requestDigest: token, metadata: false })
It does work, it seems that SharePoint expects the requestDigest for folder add operations as well.
Metadata
Metadata
Assignees
Labels
No labels