Request graph API is slowly

Daniel 1 Reputation point
2023-01-07T02:51:23.317+00:00

My program request graph api is slowly sometimes.
When i ping 'graph.microsoft.com' , it's all lost.
How can i fix it? By the way , i'm in China.
277044-image.png

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points
    2023-01-10T22:55:54.243+00:00

    Hello @Daniel

    Thanks for reaching out!

    As per your latest comment, you're trying to use Download a file graph API in Graph Explorer. For this API, the response content is not available in Graph Explorer due to CORS (Cross-Origin Resource Sharing) policy. You can execute this same endpoint/request in an API client, like Postman and it will work as expected.

    Refer this to know about CORS.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    0 comments No comments