http icon indicating copy to clipboard operation
http copied to clipboard

Support custom multipart body types for Google Drive API file upload

Open jhf opened this issue 6 years ago • 0 comments

To use the Google Drive API For file upload with metadata, such as the name of the document, a multipart body must be provided [1] with the type multipart/related, but the multipartBody only produces multipart/form-data.

Having the possibility to specify multipart bodies, with a custom content type would allow usage of such API's.

[1] https://developers.google.com/drive/api/v3/manage-uploads#multipart

jhf avatar Apr 20 '19 23:04 jhf