- What is status code 302 in laravel Ajax?
- How to solve 302 found error in laravel?
- What is 302 found status code?
What is status code 302 in laravel Ajax?
a 302 is a redirect, not an error. The default Auth\RegisterController will, after a succesfull registration, redirect you back to /home. My guess is, your registration is working (check your DB for the user) but because the endpoint returns a redirect instead of a json object you are handling it as if it was an error.
How to solve 302 found error in laravel?
302 response status code is not an error. Everything is OK. That means that route to which successful login should be redirected has been found.
What is 302 found status code?
The HyperText Transfer Protocol (HTTP) 302 Found redirect status response code indicates that the resource requested has been temporarily moved to the URL given by the Location header.