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
When i tried access the below URL i am able to access it and create files in it also.
URL i am able to access -
https://learningsfdc.sharepoint.com/_api/Web/GetFolderByServerRelativePath(decodedurl='/Shared%20Documents')/Files
URL i am unable to access folders is -
https://learningsfdc.sharepoint.com/sites/SidFirstSite/Shared%20Documents/_api/web/GetFolderByServerRelativeUrl(decodedurl='/sites/SidFirstSite/Shared%20Documents')/Files
What is the permission i am missing..