Skip to content

latentflip/google-cloud-signedurl-test-case

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

error test case

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.

  1. Download JSON keyfile from Google Cloud platform save it as keyfile.json in project root
  2. Set PROJECT_ID and BUCKET_NAME variables at the top of server.js file
  3. run npm start
  4. open http://localhost:3000
  5. 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.

About

Trying to figure out how to make this work :-/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.7%
  • HTML 47.3%