In this lesson, we will implement form functionality to make a request to the server, and if the request was successful (the user was registered) redirect to the vehicles list page.


- First create a new
src/views/vehicles/VehiclesList.jsxview for our future list. This is the page where the user will be redirected after registration...
Hello, I have this error when try to send the form:
xhr.js:247 POST http://localhost:5174/api/V1/auth/register 404 (Not Found)
.envfile, do you haveAPP_URL=http://localhost:5174?RouteServiceProvider, did you specify V1 prefix?This should come from Backend (Laravel) I think. For localhost:5174 it is from frontend React(Vite).
You must find car-parking app api laravel then You should built it. Maybe url should be
http://127.0.0.1:8000/api/V1/auth/register instead.
For http://parkingapi.test/api/v1/auth/register it is just a dummy one.