Skip to main content
added 153 characters in body
Source Link

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

IWhen i tried usingaccess the below URL i am able to access it and create folders but same 404files in it also.

URL i am able to access -

(POST)    https://learningsfdc.sharepoint.com/sites/SidFirstSite_api/Shared DocumentsWeb/_apiGetFolderByServerRelativePath(decodedurl='/webShared%20Documents')/foldersFiles

HeadersURL i am unable to access folders is -

Authorization - Bearer + access_token
Content-Type - applicationhttps:/x-www-form-urlencoded
Accept - application/json;odata=verboselearningsfdc.sharepoint.com/sites/SidFirstSite/Shared%20Documents/_api/web/GetFolderByServerRelativeUrl(decodedurl='/sites/SidFirstSite/Shared%20Documents')/Files

What is the permission i am missing..

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

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..

added 4 characters in body; edited tags
Source Link
Ganesh Sanap - MVP
  • 46.4k
  • 22
  • 31
  • 63

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

(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

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

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
added 420 characters in body
Source Link

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

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')

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
Source Link
Loading