-
Pet Projects
Tag Archives: 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
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
A few days back I thought of implementing a RESTful web service. I did not have any idea on how to implement one. So I searched online and found this post. Based on astrumfutura’s post, I created my own “simplified” … Continue reading