简体   繁体   中英

How to create blank file in google drive using drive api with our own extension

I want to create a blank file with .h extension and store in google drive. Please let me know how can I create a blank file using api of google drive.

Not much of an answer but I would try creating the file with the following params:

  1. title -> (filename).h
  2. mime-type -> 'text/plain'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM