show error messages from an api in laravel blade
I'm starting to create a rest API with Laravel, which I have a question about since before when I did the validations in the controller, I sent it like this $rules = [ 'receptor' => 'required', 'accion' => 'required', 'state'…