Hi,

Thanks for reply,

Yes I have but its empty? Could it be an issue with my route:

'restful' => array(
            'type'    => 'Zend\Mvc\Router\Http\Segment'
,
            'options' => array(
                'route'       =>
'/[:module[/:controller[.:formatter][/:id]]]',
                'constraints' => array(
                    'module'     => '[a-zA-Z][a-zA-Z0-9_-]*',
                    'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
                    'formatter'  => '[a-zA-Z][a-zA-Z0-9_-]*',
                    'id'         => '[a-zA-Z0-9_-]*'
                ),
            ),
        ),

Thanks



On 7 March 2012 15:51, mpinkston <[email protected]> wrote:

> Have you tried accessing it through the method args?
>
>
> class MyRestController extends RestfulController
> {
>    // ...
>
>    public function update($id, $data)
>    {
>
>    }
>
>
> --
> View this message in context:
> http://zend-framework-community.634137.n4.nabble.com/ZF2-Access-PUT-data-in-RestController-update-method-tp4453542p4453614.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
> --
> List: [email protected]
> Info: http://framework.zend.com/archives
> Unsubscribe: [email protected]
>
>
>

Reply via email to