SharePoint How to upload a file to SharePoint library using REST and jQuery I really struggled to find a good example for this. An MSDN example shows how to do this using the App model, but what about from something running directly in your SharePoint site?