Hi @Gamze
To get the content of your word file, locate that file in OneDrive using this endpoint.
GET /me/drives/{drive-id}/root/children
Now get the items-id(word file id) from the response and put it in below endpoint in Postman to get the content of your word file.
GET /drives/{drive-id}/items/{item-id}/content
Note: Response for this API https://graph.microsoft.com/v1.0/drives/{drive-id}/items/{item-id}/content
does not come in Graph Explorer due to CORS policy. Please use Postman(API client) to execute this request
You can refer to this documentation for more details
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".