Re: LWP/UserAgent fail authentication:

2014-08-01 Thread mimic...@gmail.com
Hi David The LWP::UserAgent docs isn't clear on how it handles the password. Thanks to your input, it's now clear why GitHub auth was failing. As you have noted, "$token:x-oauth-basic" doesn't work. # Basic authorization user name can't contain ':' at /usr/share/perl5/HTTP/Message.pm line 658 I

Re: LWP/UserAgent fail authentication:

2014-07-31 Thread David Precious
On Thu, 31 Jul 2014 17:01:38 +0100 "mimic...@gmail.com" wrote: > I receive error when calling GitHub API from Perl (LWP). Basically, > the problemis authentication failure, although the username and > password combination is valid. > > In the code snippet below, I have tried changing the values

LWP/UserAgent fail authentication:

2014-07-31 Thread mimic...@gmail.com
Hi I receive error when calling GitHub API from Perl (LWP). Basically, the problemis authentication failure, although the username and password combination is valid. In the code snippet below, I have tried changing the values passed to credentials() in several ways, however it does not work. #!/