Forum Discussion

Christophe Humbert's avatar
Christophe Humbert
Iron Contributor
Jul 18, 2019

Cross-domain request in SPFx

How can I make a cross-domain request in a Client Side Web Part built with the SharePoint Framework? My need is to access SharePoint 2016 data from a SharePoint 2016 site in another domain (same credentials).

 

I found a crossDomainWeb method in the documentation for the add-in model, but nothing for SPFx.

Resources