Ok boss. Pls boss help me like, comment and retweet my post. So I can get a laptop.
Hello guys, i'm having error that don't make sense... i'm have issue logging to my app it giving me an axios network error but it logging with the se credentials on post man
i have confirm the base url more than a thousand time, i'm using the se credentials in post man
you need to check the error message in axios
might be CORS errors blocking it
Are you running the backend on localhost? and the ap on your phone?
No i'm not running it on localhost and the app is on my phone actually
are you handling the backend yourself?
is the base url localhost
you should tell the backend developer you need access on your localhost url
somewhere along the process of you handling the returned response an error occured. lets see you .then function ot try catch function
The code is not executing beyond the call to axios; so the if statement is not even read. axios throws an exception for any non xx status
This is what he's getting in the catch block.
axios network error; that's not even the server responding at all
I don't even think it's making the request
i added console.log to know where and where is running