I am learning Google Cloud Storage, JSON api, simple download:
https://cloud.google.com/storage/docs/json_api/v1/how-tos/simple-upload
This example says that sending a message is as follows:
POST https://www.googleapis.com/upload/storage/v1/b/myBucket/o?uploadType=media&name=myObject HTTP/1.1
Content-Type: image/jpeg
Content-Length: [NUMBER_OF_BYTES_IN_FILE]
Authorization: Bearer [YOUR_AUTH_TOKEN]
[JPEG_DATA]
And then I created the Account Services API.
But how can I determine [YOUR_AUTH_TOKEN]to use from my newly created service account?
source
share