protected function response(array $messages = [])
    {
        $response = Response::json($messages, 200);
        $response->sendHeaders();
        $response->sendContent();
        app()->terminate();
        exit;
    }