If the app needs to download the content, When a user includes a file from Drive, your app Return "Failed to get attachment with error code: " + response.getResponseCode() 'Authorization': 'Bearer ' + service.getAccessToken() Message, using the API endpoint to get the attachment. The GetAttachment API is available at the following endpoint: + attachment.nameįield is included in the message payload to the app.įollowing is an example function that gets and returns the attachment from a
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |