app/Http/Controllers/Api/V1/StudentsController.php
/**
     * validate message for validate student.
     *
     * @return \Illuminate\Http\JsonResponse
     */
validate message for validate student.
validate message for validate student .
public function messages()
    {
        return [
            'name.required' => 'Please insert Student Title',
            'name.max'      => 'Student Title may not be greater than 191 characters.',
        ];
    }
public function messages ( ) { return [ 'name.required' => 'Please insert Student Title' , 'name.max' => 'Student Title may not be greater than 191 characters.' , ] ; }
validate message for validate student.
validate message for validate student .