helper method to get validated data from request->data