I want to put validation on my form that has array on it input name="sn[]"
I tried to use this:
$data = $request->validate(["sn.*" => "required|max:30"]);
but it doesn't work and causing an error
MethodNotAllowedHttpException
How do I put validation on array?