title: Laravel ajax form submit validation message not working
body: <p>I'm using Laravel 5.2  and i'm using Laravel's Form Post Validation method. It is validating as expected. But if validation fails it should return the error message as JSON since i'm sending an ajax request. But it is returning the previous page as html.
  My request is looks like :
  <a href="https://i.stack.imgur.com/C00Ap.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C00Ap.png" alt="enter image description here"></a></p>
  
  <p>as per Laravel Docs in <a href="https://laravel.com/docs/5.2/validation#working-with-error-messages" rel="nofollow noreferrer">https://laravel.com/docs/5.2/validation#working-with-error-messages</a> it shoud return a json. Is there anything i missed ?</p>