Published
- 1 min read
laralve validation url
The solution for this is noted below
laralve validation url
Solution
/**
* The attributes that are mass assignable.
*
* @var array
*/
public function store(Request $request)
{
$input = $request->all();
$request->validate([
'url' => 'required|url'
]);
// Url Validation
}
Try other methods by searching on the site. That is if this doesn’t work