S
S
sanek_gyy2018-11-16 00:17:18
Java
sanek_gyy, 2018-11-16 00:17:18

How to save/upload to Google Drive using API?

I am writing a training application using Java on Spring Boot and Angular. There is a main page of the user on which there is a photo. Immediately after registration, a default photo is set, but the user can change it. The photo needs to be stored on Google Drive, and the id on the photo should be stored in the table. How to do this process using Google Drive API.
And how is the process of saving a photo? The user selects the desired photo from the computer, the request from Angular goes to the Google Drive API, the photo is saved, the response comes to Angular with the id of the photo, and then they go in the request to the server to save to the database?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question