Alan L. Rezende
Alan L. Rezende
I still don't have a definitive solution. Occasionally I created a hack, assuming for now that all connection errors are 401, so I return an exception in this pattern. hack:...
> O que eu entendo, é que você está tentando obter o código de status (como inteiro) para então, manipular ou reagir com algum evento. > > ```js > axios.delete(userApi.deleteAsync,...
> I've already checked most of the points raised by you. Simply put, when I suspected the possible error reason, I simulated a rogue environment, and checked the api call...
> Did you find a solution for this. I'm having the same problem Not yet my friend, but we are all in the fight. A solution will soon emerge.
It doesn't make sense since, cors doesn't return 401.
> Right. The browser usually informs you when domain issues occur, which in my case did not. So, wouldn't it be ideal for axios to identify this cross-domain return and...
Pra mim resolveu aplicando o comando abaixo. Fazendo a instalação do ts-node `npm install -g ts-node`
[jasonsaayman](https://github.com/jasonsaayman), Can you please give us strength to close this matter? Thanks!
Duplicated on issue #5173