ZF-3940: Zend_Rest_Client: PUT and DELETE methods
Description
Neither the put() nor delete() methods seem to be working, unless you pass raw post data. I tried both these syntaxes, with no luck (in the end I just used Zend_Http_Client):
$rest = new Zend_Rest_Client('http://myservice'); $rest->myparam('myval'); //... $result = $rest->put();
and
$rest = new Zend_Rest_Client('http://myservice'); $data = array( 'myparam' => 'myval', //... ) $result = $rest->put($data);
Comments
Posted by old of Satoru Yoshida (yoshida@zend.co.jp) on 2008-10-22T06:42:38.000+0000
Hi, Lorenzo.
You use also Zend_Rest_Server on server , http://myservice ?
If you so, it seems to depend on ZF-4024.
Posted by Lorenzo Alberton (quipo) on 2008-10-22T07:15:09.000+0000
No, I was not using Zend_Rest_Server
Posted by Benjamin Eberlei (beberlei) on 2008-11-07T03:56:16.000+0000
Changed title to be mor specific to the component.