Download file from SharePoint
I'm using the REST APIs of SharePoint to query the files hosted inside a corporate user's Office 365 SharePoint site. I have used OAuth to authenticate the user and authorize the the app, as described here: http://msdn.microsoft.com/en-us/library/azure/dn645542.aspx I am able to successfully query the API with a GET request on: https://XXXXXXX.sharepoint.com/sites/xxxxx/xxxxx/myfoldername/_api/files (the request as the Authorization header set to 'Bearer ', as you'd expect.) The above query gives me the following JSON result: { "odata.metadata" = "https://xxxxxxxxx.sharepoint.com/sites