When a user sends a request to the server, the request may contain any kind of data in it. But we can't store random data into our database.
We need a specific set of data or inputs to get from the client and store it into our database, otherwise we'll face with many errors.
In this part we will cover how to Validate the incoming requests from the client and also how to create a custom request to customize the response we give to the user after validation fails.
Click here, https://bit.ly/2y4WUpj
Laravel validation:
https://laravel.com/docs/7.x/validation