Laravel - Request and Response
Given this Laravel controller code snippet:
What will be the output if the request sends
public function store(Request $request) {
$validated = $request->validate([
'age' => 'required|integer|min:18'
]);
return $validated['age'];
}What will be the output if the request sends
age=20?