Skip Menu |

This queue is for tickets about the Net-WhitePages CPAN distribution.

Report information
The Basics
Id: 35911
Status: resolved
Priority: 0/
Queue: Net-WhitePages

People
Owner: Nobody in particular
Requestors: bdfoy [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.00
Fixed in: 1.01



The API_KEY is not inserted in the URL. In _uri, you need to access the key named "TOKEN" (or change the interface to use "API_KEY"): sub _uri { my $self = shift; my $meth = shift; my %p = @_; my $uri = URI->new(API_BASE . '/' . $meth . '/' . $self->{ API_VERSION }); $p{'api_key'} = $self->{ TOKEN }; # fix this line $p{'outputtype'} = 'JSON'; $uri->query_form(%p); return $uri; }
Subject: Re: [rt.cpan.org #35911]
Date: Thu, 15 May 2008 16:01:40 -0400
To: bug-Net-WhitePages [...] rt.cpan.org
From: "Darren Chamberlain" <dlc [...] sevenroot.org>
On Thu, May 15, 2008 at 2:37 PM, brian d foy via RT <bug-Net-WhitePages@rt.cpan.org> wrote: Show quoted text
> The API_KEY is not inserted in the URL. In _uri, you need to access the > key named "TOKEN" (or change the interface to use "API_KEY"):
Oops. Fixed. Version 1.01 uploaded. -- (darren)