Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Bing API Authentication in Perl

by NeonFlash (Novice)
on Oct 03, 2012 at 11:36 UTC ( #997036=note: print w/replies, xml ) Need Help??


in reply to Re: Bing API Authentication in Perl
in thread Bing API Authentication in Perl

I tried the method you have specified to use:

$mech->credentials('',$account_key);

however, it does not work either and gives the same error:

"The authorization type you provided is not supported. Only Basic and OAuth are supported".

I have even tried specifying a valid user agent, just in case they are performing User Agent Sniffing and it does not work.

So, I set the user agent alias as follows:

$mech->agent_alias('Windows IE 6');

Again, I receive the same error for authentication.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://997036]
help
Chatterbox?
[beech]: of course the magic word that explains everything :p
[erix]: they should lean to gnash their teeth a bit instead of writing more ^Re:NN-nodes :)
[erix]: *learn
[erix]: comic relief: how to start a riot and a fortune at the same time
[beech]: :) thats too generous to jdporter, don't start none won't be none -- there is about two decades (rounding up) worth of "ineffective" node titles -- leave the pope alone :p

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2017-01-17 23:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (159 votes). Check out past polls.