mherger wrote: 
> Haha... good to know you were able to replace the stupid smiley with
> what was needed :-D. I'm sorry about that. 
> 
> That first test did look good. 401 was expected, but it did not "hang
> up" on the connection like the scanner does. Here's the next step:
> 
> > 
Code:
--------------------
  >   > perl -MLWP::UserAgent -MIO::Socket::SSL -MData::Dumper -e 
'IO::Socket::SSL::set_defaults(SSL_verify_mode => 0); my $ua = 
LWP::UserAgent->new(); my $r = 
$ua->get("https://api.spotify.com/v1/me/albums?limit=50&offset=0";); print 
Dumper($r);'
--------------------
> > 

Output attached.


+-------------------------------------------------------------------+
|Filename: perl_out_2.txt                                           |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=30331|
+-------------------------------------------------------------------+

------------------------------------------------------------------------
Czig's Profile: http://forums.slimdevices.com/member.php?userid=68882
View this thread: http://forums.slimdevices.com/showthread.php?t=111923

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to