Issues

ZF-2362: API base URI has changed

Description

http://api.search.yahoo.com should be changed to http://search.yahooapis.com/ .

Additionally, I would suggest to move all the following pieces of code into a common method and store base URI in a PHP constant. The code will be more readable and easy to update.


        $this->_rest->getHttpClient()->resetParameters();
        $this->_rest->setUri('http://search.yahooapis.com');
        $response = $this->_rest->restGet('/SiteExplorerService/V1/inlinkData', $options);

Comments

The API domain isn't actually constant despite it not changing much at all. i.e. Local search is an exception.

I'll check my local copy (with the new domains) doesn't break anything and if no-one objects I'll make the change.

Fixed in r7338