How to remove redirection when registration and login in laravel?

Hi all.

Make the registration and authorization laravel 6.0

I like the standard functionality, but the way I do it with axios, I don't need redirects to /home.
I want to return a response message with status => success code 200.
How it correctly to implement?
April 7th 20 at 10:50
1 answer
April 7th 20 at 10:52
Solution
accept: application/json

Find more questions by tags Laravel