From 0dbb87fa6e3c2963a66ce7efc0afa4185d850757 Mon Sep 17 00:00:00 2001 From: Andrew Baerg Date: Thu, 31 May 2018 09:28:27 -0600 Subject: [PATCH] use POST instead of GET as required by last.fm API --- lib/Net/LastFM.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Net/LastFM.pm b/lib/Net/LastFM.pm index cc3946e..d5df03a 100644 --- a/lib/Net/LastFM.pm +++ b/lib/Net/LastFM.pm @@ -45,7 +45,7 @@ sub create_http_request { } $uri->query_param( 'format', 'json' ); - return HTTP::Request->new( 'GET', $uri ); + return HTTP::Request->new( 'POST', $uri ); } sub create_http_request_signed {