-
Pet Projects
Tag Archives: zend_rest_client
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
Posted in General
Tagged Zend Framework, zend_rest, zend_rest_client, Zend_Rest_Server
Leave a comment
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