Issues

ZF-2362: API base URI has changed

Issue Type: Bug Created: 2007-12-28T17:05:12.000+0000 Last Updated: 2008-02-26T12:56:02.000+0000 Status: Resolved Fix version(s): - 1.0.4 (26/Feb/08)

Reporter: Simone Carletti (weppos) Assignee: Kevin Golding (caomhin) Tags: - Zend_Service_Yahoo

Related issues: Attachments:

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.

<pre class="highlight">
        $this->_rest->getHttpClient()->resetParameters();
        $this->_rest->setUri('<a href="http://search.yahooapis.com">http://search.yahooapis.com</a>');
        $response = $this->_rest->restGet('/SiteExplorerService/V1/inlinkData', $options);

Comments

Posted by Kevin Golding (caomhin) on 2008-01-03T11:40:39.000+0000

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.

Posted by Kevin Golding (caomhin) on 2008-01-03T14:55:32.000+0000

Fixed in r7338

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts