none
How to upload a file in One drive using MS Graph RRS feed

  • Question

  • Hi Experts,

    Hope you guys are doing good.

    I'm facing issue while trying to upload file in One drive using MS Graph. I've to upload a file into my personal folder of one drive.

    Below is API which I've used,

    https://graph.microsoft.com/v1.0/me/drive/root:/FolderA/FileC.txt:/content

    Request Body - 

    {"id":"0123456789abc","name":"FileC.txt","size":35,"file":{}}

    Please suggest how can I use this API into my C# Snippet. 

    Thanks & Regards

    Atif

    Friday, October 23, 2020 2:22 PM