if($request->isPut()==true)
{
//check auth_token parameters
$auth_token = $request->getPut('auth_token');
//create and execute query
$select_user_query = "SELECT * FROM User WHERE auth_token = :auth_token:";
$user = $this->modelsManager->executeQuery($select_user_query, array('auth_token' => $auth_token))->getFirst();
When trying to get the auth_token from put request, it returns null so the query doesn't work. What's the problem? The if condition to detect request type works very good but getPut() doesn't.