Support the ongoing development of →
Requests Views Installation
Last updated 2 years ago.


Why do you need the ajax call? Maybe you can make a form and submit via JS with de post parameters.


you need to tell jquery ajax what to do on specific http codes.

returning a redirect from the laravel controller will also send a 302 http code on the response,

read more about retrieving the http code from client side

you can also set up jquery ajax globally so all 302 responses will auto redirect


Sign in to participate in this thread!


Your banner here too?

tillka tillka Joined 25 Mar 2016


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.