dimanche 26 mai 2019

I want to know something about laravel redirect

My situation is that I need to return json response to server. At the same time, I need to redirect to some specific route to clients.

I have already tried with ob_start() and it does not work as I expected.

Normally, one function only works one return. But in this case, I need to return to two different places. Please someone guide me how can i solve that problem...



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2M9S6FG
via IFTTT

Aucun commentaire:

Enregistrer un commentaire