Forum Academy Marketplace Showcase Pricing Features

Import to Google Docs types via Google Drive API

Hello. I am trying to upload a DOCX file via Google Drive API. But the documentation says that I need convert to a Google Workspace file type, in this case with MIME Type application/vnd.google-apps.document .

How can I set my API call to do this during the upload process via HTML?

CONFIGURATION ON POSTMAN

image

image

image

RESULT BODY

image

THE RESUL ON GOOGLE DRIVE. A UNKNOW FILE, INSTEAD OF A GOOGLE DOCS FILE.

image