使用自定义请求类时,Ajax请求遇到错误403

I have created a custom request class to add validation rules for my form in a Laravel 5.2 application. But it accepts only normal post request and not allowing the ajax/post request (403 Response).

Laravel default request object accepts both normal post and ajax post. Am I missing anything here?

Its working after i added the authorize() method in to my custom request class.

https://laravel.com/docs/5.3/validation#authorizing-form-requests