V
V
VoRoN19992020-02-09 17:53:38
Laravel
VoRoN1999, 2020-02-09 17:53:38

How to remove redirects during registration and authorization in laravel?

Hello.

I am doing registration and authorization on laravel 6.0

I am satisfied with the standard functionality, but this is how I do it with axios, then I do not need redirects to the /home page.
I want to return a response with the message status => success, code 200.
How to implement this correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex Wells, 2020-02-09
@VoRoN1999

accept: application/json

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question