I am doing a GET request to below URL from POSTMAN to get Folder details and files. But i am always getting 404 Not Found in POSTMAN. ANy suggestion if the URL is wrong.
https://learningsfdc.sharepoint.com/sites/SidFirstSite/Shared%20Documents/_api/web/getfolderbyserverrelativeurl('/sites/SidFirstSite/Shared%20Documents')
Headers -
Accept - application/json;odata=verbose
Authorization - Bearer + access_token
I tried using the below URL to create folders but same 404 -
(POST) https://learningsfdc.sharepoint.com/sites/SidFirstSite/Shared Documents/_api/web/folders
Headers -
Authorization - Bearer + access_token
Content-Type - application/x-www-form-urlencoded
Accept - application/json;odata=verbose