0

I am uploading word document using microsoft graph UploadSession. Document uploaded successfully and received uploaded file link which is open in next browser tab using application. But all the data are displays in single line. There is no line breaks or paragraph. How to add content-type to upload and display data as it is in local file or any other way to upload document. I am following these instructions:https://learn.microsoft.com/en-us/graph/sdks/large-file-upload?tabs=java

Any help would be appreciated.

minu
  • 157
  • 1
  • 3
  • 13
  • Can you repro the issue outside of your application (say, Graph Explorer or POSTMAN)? – Dev Mar 03 '21 at 15:03
  • If its drive item then you can set the content-type and here's the [sample](https://learn.microsoft.com/en-us/graph/api/driveitem-put-content?view=graph-rest-1.0&tabs=http) – Dev Mar 03 '21 at 15:04

0 Answers0