I am developing REST API. In my routes.php file the routes are configured like this :
$usersCollection->put('/{name}', 'update');
In my controller I am trying to access the request parameters like : $id=$this->request->getPut('id');
but $id always returns NULL.
I am using Phalcon 3.2 with PHP 7.0.19 running on Nginx. Could anybody help me in this regard.