AnsweredAssumed Answered

Integrating Google Drive into FM

Question asked by joymo04 on Nov 27, 2018
Latest reply on Nov 29, 2018 by user19752

Hello everyone!


I'm relatively new to the community. I only started working with FileMaker programming this year and I've been specializing in integrating API and JSON into FM applications. Well, I've been hitting a snag in trying to create folders in Google Drive through FileMaker (using Google's API).


Now, I've looked at their documentation and have tried several cURL options, but I'm having a hard time getting it to denote a name and filetype to the created new object. It will create a file in Google Drive, but it always names it "Untitled" and the filetype is "application/octet-stream", even though I clarify that it should be different (it needs to be application/


If it helps any, this is the cURL option I've embedded in the script:


"-H \"Authorization: " & API_tokens::token_type & " " & API_tokens::access_token & "\"


-X POST -d ''


{'kind': 'drive#file',

'name': 'Google Folder test' , 'mimeType': 'application/'}


-H Content-Type: 'application/'  "


Any help figuring this out would be appreciated. Thanks!