728x90
반응형
SMALL
Create an upload session to upload large files to oneDrive.
Below is the request address.
https://graph.microsoft.com/beta/users/{userId}/drive/root:/UploadFiles/{fileName}:/createUploadSession
Request Body
{
"item": {
"@odata.type": "microsoft.graph.driveItemUploadableProperties",
"@microsoft.graph.conflictBehavior": "rename",
"name": "largefile.dat"
}
}
An Invalid request error occurs. What's wrong with it? I watched the tutorial and tested it.
POST /drive/root:/{item-path}:/createUploadSession Content-Type: application/json
{
"item": {
"@odata.type": "microsoft.graph.driveItemUploadableProperties",
"@microsoft.graph.conflictBehavior": "rename",
"name": "largefile.dat"
}
}
출처: <https://stackoverflow.com/questions/ask>
728x90
반응형
LIST
'Cloud > Microsoft 365' 카테고리의 다른 글
Onedrvie 파일 업로드 API (0) | 2022.04.01 |
---|---|
Outlook 조직도 개발 기초 (0) | 2022.04.01 |
Outlook Addin 배포 (0) | 2022.04.01 |
Microsoft Office Add-in with Angular (0) | 2021.06.16 |
[M365] Office 추가 기능 배포 방법 - Outlook 추가 기능 배포 (0) | 2020.05.26 |