Hello,
I am uploading ".xlsx " file into SharePoint online using REST API /_api/Web/GetFolderByServerRelativeUrl('-------')/files/add,
My upload is successful, but noticed after uploading file, it contains some additional comments as per below in the top of file, due to that, I am unable to process file .
Please advise.
Content-Type: application/octet-stream;
name=<....,XLSD>
Content-Transfer-Encoding: binary
Content-Disposition: form-data; name="filename"; filename="filename"