alexeymezenin / laravel-best-practices

Laravel best practices
11.24k stars 2.37k forks source link

Validation FormRequest #137

Open NicoHood opened 2 years ago

NicoHood commented 2 years ago

Hi! The Validation example just uses Request as class to inherit. However laravel by default creates a FormRequest instead. What I need is a request to validate my json, but I currently do not know which one is the right one. Maybe you could add some more hints to this example?

bijaydas commented 1 year ago

Hi @NicoHood are you talking about a sample request?