Posts by Tomás • 31 points
1 post
-
2
votes2
answers417
viewsQ: Axios falls in catch even with status code 200
I have a login code, that when a user logs in if the data is incorrect a backend done in nodejs returns an error 401 and if everything is correct returns a status code of 200. During the execution…