A web developer's blog. PHP, MySQL, CakePHP, Zend Framework, Wordpress, Code Igniter, Django, Python, CSS, Javascript, jQuery, Knockout.js, and other web development topics.

Tag Archives: zend_rest_client

Zend Framework: Handling custom XML reponses using Zend_Rest_Server

This post assumes that you have read about Zend_Rest_Server in the the Zend Framework manual and my previous posts regarding Zend_Rest: Here and here. My EmprestServer class would have something like this: <?php class EmprestServer { //more code here… public … Continue reading

Leave a comment

Problems with Zend_Rest. Any ideas? FIXED!

I am stuck with my problem. I am not sure if it is the way I have things set up or it is something else.This works! $rest = new Zend_Rest_Client(’http://mysite.com/api/emp/method/getById/id/1124921/apikey/1234′); $result = $rest->get(); if($result->status()==’success’) { echo $result->emp_id() .’ ‘. $result->emp_shortname().’ … Continue reading

5 Comments