Response 200 for downloading files in a drive

Kandadai, Shravani 0 Reputation points
2023-11-07T17:12:13.81+00:00

I'm using download the contents of a drive item endpoint to save files locally.

https://learn.microsoft.com/en-us/graph/api/driveitem-get-content?view=graph-rest-1.0&tabs=http

As per the documentation, the endpoint is supposed to respond with either a 302 Found or an error status code. I'm receiving a 200 response and not sure what to do further. Can someone please help?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,175 questions
0 comments No comments
{count} votes