If you are submittin the request outside a HTML Form than you have to set your HTTP request headers as follow:
Content-Type: application/json Accept: application/json
In this way, Laravel will give you back the validation errors in json format and HTTP status 422 (Unprocessable Entity)
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us