Subject: | Module does not work for POST and PUT |
The request is hardcoded to GET. Google also uses PUT and POST. The URL
and HTTP command should be takend diirectly from the request.
Replace
sub sign_request {
my ($self, $request, $url, $token) = @_;
[...]
my $data = "GET $url $timestamp $nonce";
By
sub sign_request {
my ($self, $request, $token) = @_;
[...]
my $data = $request->method . " " . $request->uri . " $timestamp
$nonce";