Monday, 22 August 2016

Making a POST request to SharePoint from an SPFx webpart

This post has been updated on 05 March 2017 for SharePoint Framework 1.0 (GA)

In this post, I have documented how to make an HTTP POST request from your SPFx webpart. There are lots of posts out already which show you how to make a GET request so I will not cover that here. It is fairly straightforward once you understand all the moving parts.

Hi Vardhaman, we are trying to do OData Post query from One Site collection to another Site collection.it gives me Cross site Scripting Error but both Site collection in Same Domain.is it expected result or doing something wrong.