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 Security | Microsoft Graph
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.