Hi @Srikanth ,
According to my research and testing, you can try to create Folder in SharePoint site using postman according to the following steps.
Hope it can help you, thanks for your understanding and support.
Steps:
1.get "Access_token";
2.
POST https://xxxx.sharepoint.com/sites/xxxxx/\_api/web/folders
Authorization: "Bearer " + accessToken
Accept: "application/json;odata=verbose"
Content-Type: "application/json;odata=verbose"
3.Input the following script in the body:
{
"__metadata": {
"type": "SP.Folder"
},
"ServerRelativeUrl": "https://xxxx.sharepoint.com/sites/xxxxx/test/folder"
}
4.Click "Send", and the folder is created successfully.
Update-------------------------------
Please follow these steps to create a folder in SharePoint, and check if there are any missing steps:
1.Follow the steps in the documentation to get the "Access_token" (as shown in the following screenshot).
2.Copy the "Access_token" to "Authorization". And input "URL" , "Headers" and "Body"
POST https://xxxx.sharepoint.com/sites/xxxxx/\_api/web/folders
Authorization: "Bearer " + accessToken
Accept: "application/json;odata=verbose"
Content-Type: "application/json;odata=verbose"
Content-Length: "148"
{
"__metadata": {
"type": "SP.Folder"
},
"ServerRelativeUrl": "https://xxxxx.sharepoint.com/sites/xxxx/test/newfolder1"
}
My test results:
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.