Click Fraud Protection
PHP related blog, freelancer to hire!

Posts Tagged restful

Zend_Test_Client problem with GET parameters in path

Let’s say you want to send REST request to http://test.server.int/articles and your provider requires to send token parameter – but in URL So your final url will be http://test.server.int/articles?token=12345 My client looked like: $rest = new Zend_Rest_Client(‘http://test.server.int’); $rest->restGet(‘/articles?token=123’, array(‘article’ => ‘<xml>YOUR XML</xml>’)); Fatal error: Uncaught exception ‘Zend_Uri_Exception’ […]

Read more