I'm trying to upload file to a OneDrive from my Java application, but i dont understand the flow and dont see any documentation or methods within SKD for file upload.
The only flow i've found is:
driveClient.me().drive().root().createUploadSession(uploadProperties).buildRequest().post()
But this results in NPE: source
.
how can i set the content as InputStream ?
来源:https://stackoverflow.com/questions/54008743/ms-graph-java-sdk-how-to-upload-a-large-file-to-onedrive