Laravel and the validations by Request

0

Today I ask you a question about Laravel and the Request .... as you know, when you do a POST to the controller you can create a request file to validate what is sent before processing the data ... but. ... what happens if the information is sent from AJAX? I had to create the validation process outside the request files using clear the "Validator" facade ... but ... I wanted to know if from within the request files something can be done to indicate that the validation is executed if the request (request) comes by ajax ... is there any way ???

    
asked by jose angarita 13.02.2018 в 17:45
source

0 answers