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?
Hi! The Validation example just uses
Request
as class to inherit. However laravel by default creates aFormRequest
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?