Skip to content
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.

Error in list('listname').create({data}) #9

Closed
@rachidio

Description

@rachidio

Hello,
I am facing the same problem as discussed on issue #5, I am using SpRestLib in a Sharepoint hosted app, into the default.aspx page, when making GET calls no problem, but when I call list('listname').create({data}),
with data as JSON object {name:"test", ...}, I get an error about page validation etc, in devtools I noted that there is no X-RequestDigest nor Payload in the post call.
image

How can I resolve the issue as there is no solution mentioned in the previous discussion #5 ?
Thanks in advance

Metadata

Metadata

Assignees

Labels

authenticationSharePoint authenticationintegrationintegration with other angular, node, webpack, etc.question

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions