cURL Returning No Value For Valid Armory

#1 - Dec. 8, 2011, 10:39 p.m.
Blizzard Post
Hey all.

My armory tool for my guild site was working fine up until a day ago. Now, it is broken and I cannot seem to figure out why.

I am using this string as the test URL: http://us.battle.net/api/wow/character/Frostmane/Slades?fields=stats,talents,professions,titles,items,reputation,mounts,achievements

Here is the code for the PHP for the cURL:

$this->URL = "http://us.battle.net/api/wow/character/Frostmane/Slades?fields=stats,talents,professions,titles,items,reputation,mounts,achievements";

$ch = curl_init();
curl_setopt( $ch, CURLOPT_URL, $this->URL );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
$curl_return = curl_exec( $ch );
curl_close( $ch );


$curl_return has no value if I do a print_r().

Any idea what could be wrong with the cURL all of a sudden?

Thanks.
Forum Avatar
Web & Mobile Team
#6 - Dec. 9, 2011, 7:07 p.m.
Blizzard Post
Do all requests fail or is that the only one?