Just trying to put together an isolated test to show getting a signed url from a node server and uploading straight to Google Cloud storage from a browser with that signed url.
Seems this should be simple.
- Download JSON keyfile from Google Cloud platform save it as
keyfile.json
in project root - Set
PROJECT_ID
andBUCKET_NAME
variables at the top of server.js file - run
npm start
- open http://localhost:3000
- select a file using the file input
You should see it being uploaded to that bucket. I keep getting 403'ed saying signature is wrong.