SharePoint REST API 2.0 Redirecting to the exact same endpoint url - Get File Content
Victor Melo
0
Reputation points
I am clueless about this!
Was trying to Get File Content by using SharePoint REST API 2.0 - Send An HTTP Request to SharePoint action using method GET, endpoint:
/_api/v2.0/sites/{site-id}/drives/{drive-id}/items/{item-id}/content
Result is failing the online flow with a Redirect error with "source" with exact same of the endpoint queried. response bellow:
{
"status": 302,
"message": "",
"source": "https://{tanant}.sharepoint.com/sites/{site}/_api/v2.0/sites/{site-id}/drives/{drive-id}/items/{item-id}/content",
"errors": []
}
Iknow the file is there because i can use teh exact same ids in other endpoints and it finds the file there. I am totally clueless about this...
Sign in to answer