I am trying to use "signed URLs" to access/upload files to Google Cloud Storage (GCS).
Followed the instructions at https://developers.google.com/storage/docs/accesscontrol#Signing-Strings
What I did:
<?xml version='1.0' encoding='UTF-8'?>
<Message>The request signature we calculated does not match the signature you provided. Check your Google secret key and signing method.</Message>
Finally managed to PUT files to Google Cloud Storage using signed URLs. This was done by creating a simple Java program to simulate:
Serverto sign & encode a string as signature.
Uploaderas an unauthenticated user submitting the PUT request using only the signature provided by
Server. Browser is simulated using Apache's HTTP Client library.
You can see the demo app here.
I do not really understand why it did not work when I submitted through Chrome's Postman extension.