if you want to except name field in the post method in the controller
direct usage of Request
and Request $request->
public function test(Request $request)
{
$request->except(‘name’);
}
public function test()
{
Request::except(‘name’);
}
if you want to except name field in the post method in the controller
direct usage of Request
and Request $request->
public function test(Request $request)
{
$request->except(‘name’);
}
public function test()
{
Request::except(‘name’);
}