Google Cloud Storage


#1

Hello,

I’m creating a new worker that will:

  • fetch an object from Google’s Cloud Storage
  • add some data to it
  • create a new response and return the payload as application/json

Eventually, I would like to save changes back to GCP Storage.

Since we can’t use the GCP Node SDK, it looks like I the JSON API is the only option.

However, I’m not having any luck getting the headers correct. I’m following along with https://blog.cloudflare.com/dronedeploy-and-cloudflare-workers/

But enough was stripped out of the article, I’m not sure what is missing.

Anyone else have any luck?