How to check request is ajax or not in Laravel
hi guys, I will let you know how to detect if request is ajax or not in Laravel. Sometime you need to check if request is ajax then response data only and if request is not ajax then response complete view in your application. By using ajax() method in Laravel, ...