Open kokosky93 opened 4 years ago
Can you try saving your metadata as a json file and uploading it like you do the other file? This way you will be able to specify the content type of the metadata as application/json; charset=UTF-8
as the GDrive API expects.
I am meeting with dificulties while using multipartUpload method. I need to send json file to the Google Drive API. I have to use multipart to set metadata to a file like name. Without multipart request file will be with untitled name. I don't know how to set boundaries according to Google Drive API documentations. Anyone can help?
This is my code:
I have tried a lot but nothing worked out.
Google API https://developers.google.com/drive/api/v3/manage-uploads