0
votes

Google drive api provides the following code to export files. GET https://www.googleapis.com/drive/v3/files/fileId/export. However, it doesn't work by itself, it needs the mimeType. Where do I put the MimeType. I need the complete syntax. Thank you.

1
Welcome to Stack Overflow. Questions are best accompanied by a minimal reproducible example to show what you tried.BenH
You may want to check this documentation to know more about exporting Google Drive files and to know the supported export MIME types.Teyam
In addition to that, you may also practice in try this API to call Files: export method on live data to see the API request, response and to get the correct syntax.Teyam

1 Answers

0
votes

https://www.googleapis.com/drive/v3/files/$fileId/export?mimeType=application/vnd.openxmlformats-officedocument.wordprocessingml.document