After giving up with GDrive (Almost) I want try using Google cloud for automatic backups
I'm trying this code but I gen an "AccessDenied", "Anonymous Caller does not have storage objects"
What is wrong with the keys ?
I'm trying this code but I gen an "AccessDenied", "Anonymous Caller does not have storage objects"
What is wrong with the keys ?
Code:
With xmlHTTP
.Open "GET", "https://storage.googleapis.com/MyBucket", False ' (Bucket created in the Google Cloud Consule)
.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
.setRequestHeader "Content-Length", Len("Request=" & strXML)
.setRequestHeader "x-goog-project-id", MyAppKey ' (App Key was taken from Google Cloud Consule)
.setRequestHeader "&Authorization", MyGoogleKey ' (Google Key was taken from Google Cloud Consule - Cloud Storage IDs)
.send (strXML)
End With