Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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?
[marto]: not if you keep telling people :P
[zentara]: I had to disable hyperthreading on my machine because of that.
[Discipulus]: thanks marto but... at the moment this seems a bit beyond my faculties.. ;=)
[zentara]: a thread goes into a wait state after emitting a wait to all other threads. It locks up a machine completely.
[marto]: if you mean the recent hyperthreading bug, I don't think that's NSA related?
[zentara]: s/thread/cpu/
[marto]: xkcd://538
[Discipulus]: these opcodes mentioned in the wiki pages are the same opcode perl is translated into? or is just the same term but in different fields?
[zentara]: it's useful if you want to lockup a multicore machine :-)

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (11)
As of 2017-07-28 12:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (428 votes). Check out past polls.