Hi @Patil, Vinod V
To upload file in SharePoint folder, use this Graph API endpoint.
PUT /sites/{site-id}/drive/items/{parent-id}:/{filename}:/content
Please refer to this documentation for more details.
To upload bigger file please follow this documentation.
To download file from SharePoint, use this Graph API endpoint.
GET /sites/{siteId}/drive/root/children
The above endpoint will give you all files in your sites drive. Use the id of the file which you want to download.
GET /sites/{siteId}/drive/items/{item-id}
The above endpoint will give you download URL which you can use to download that file.
Also, you can use GET /sites/{siteId}/drive/items/{item-id}/content
endpoint to get the raw content of file.
Please refer to this documentation for more details
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.