I am unable to make post request to backend side using react.
Here is my auth file and error file:
I am expecting to make a request at
http://localhost:8000/api/v1/user/register/
But the site is making the request at:
http://localhost:5173/user/register/ (404)
How to set the post request url correct?
New contributor
rohan Kumar is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1