I have a form and I can send data through and get data in controller and see it but when use validation as below:
$validation= $request->validate([
'title' => 'required|unique:posts|max:255',
'body' => 'required',
'message' => 'required'
]);
I have status 302 I don't know what to do