简体   繁体   中英

upload file using shared link using Microsoft graph API

I am able to get all files in folder using https://graph.microsoft.com/v1.0/shares/ {SharedUrl}/root/children

but not able to upload file.

When i am trying to upload file it is throwing error:

"error": { "code": "BadRequest", "message": "Unsupported segment type.

Is it possible to upload files using api https://graph.microsoft.com/v1.0/shares/ {SharedUrl} ?

You cannot upload files using the shares endpoint. You need to upload files directly to the drive you want to store them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM