Android - Google Drive HTTP Request

后端 未结 2 1843
野趣味
野趣味 2021-01-05 16:35

I am trying to write an application which can upload files to Google Drive. I have chosen to interact with this service via raw http requests as I haven\'t found any useful

2条回答
  •  無奈伤痛
    2021-01-05 17:15

    Are you sure your token is valid for Drive Scopes ? The test you mention at the end of your question is not on the same scope.

    Also, don't forget that Oauht2 token are valid only for one hour. You may need to request another one or to use your refresh token, if you have one.

提交回复
热议问题