ZF-3940: Zend_Rest_Client: PUT and DELETE methods


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();


$rest = new Zend_Rest_Client('http://myservice'); $data = array( 'myparam' => 'myval', //... ) $result = $rest->put($data);


Hi, Lorenzo.

You use also Zend_Rest_Server on server , http://myservice ?

If you so, it seems to depend on ZF-4024.

No, I was not using Zend_Rest_Server

Changed title to be mor specific to the component.