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 ?