I\'m trying to use the Google URL shortener API with PHP:
$apiKey = \'ABC\';
$url = \'http://www.stackoverflow.com/\';
$postData = array(\'longUrl\' => $
I'll just add to this that I had a similar issue when using a Google API from a Rackspace cloud server. If ANY IP addresses are added, then it will always be blocked (checked multiple times to ensure it was the correct IP, including making requests from server to a page that reported the remote IP). So from Rackspace cloud hosts, I have to allow any IP. If I'm hosting anywhere else, then the IP restrictions work as designed.