I have developed a SharePoint App that is running on Online SharePoint 2016 site Collection.
Have another Software Application with Rest API that is running on my another Online server. More this app is purely developed using HTML,Javascript/JQuery. no server side scripting.
More SharePoint App strongly integrated with my Software Application (using Ajax calls for data fetching).
Now the issue is, i want to upload files into SharePoint from Software Application.
Note: Anonymous access is not available in Office 365 Online account as per my R&D.
Please help and Thanks in Advance.
You can follow the steps below to upload a file by using the REST API and jQuery:
These examples use the getfolderbyserverrelativeurl endpoint to reach the file collection. You can also use a list endpoint (example: …/_api/web/lists/getbytitle('')/rootfolder/files/add).
For more information, please review the following link: Upload a file by using the REST API and jQuery
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.