I have a SharePoint app. The app needs to access data from host web using rest api. But when I try doing this there is a cross domain issue. How to resove it?
It can access data from hostWeb but in case of project server it fails. The url for project server is like http://<server>/pwa/_api/ProjectData.
It can access url http://<server>/pwa/_api/web but not http://<server>/pwa/_api/ProjectData.
Hi Nikhil,
Please take a look at this:Â http://blogs.msdn.com/b/officeapps/archive/2012/11/29/solving-cross-domain-problems-in-apps-for-sharepoint.aspxÂ
Hope it may help you!
Thanks,
Shubham