You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"I didn't have any problems with Axios get/post requests before. After the latest update, the Axios requests are successful, I check from the network and the successful response values are returning correctly, everything is fine when I try from Postman. However, after making the Axios request from React Native, the then, catch, and finally methods are not working, and I am unable to process the received result."
To Reproduce
No response
Code snippet
asyncfunctiononLogin(email,password){try{console.log('a');awaitaxios.post('http://localhost:3000/api/login',{email: email,password: password,}).then(response=>{console.log(response.data);if(!response||!response.data){Alert.alert('Sorun oluştu, lütfen daha sonra tekrar deneyin.');return;}if(response.data.isSuccess){Alert.alert(response.data?.value?.token);// navigation.navigate('Home');}else{Alert.alert(response.data.message);}}).catch(function(error){console.log(error);}).finally(()=>{console.log('asd');});}catch(e){console.log(e);}}
Expected behavior
No response
Axios Version
1.6.8
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
21.7.1
OS
iOS 17
Additional Library Versions
React Native 0.73.4
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
"I didn't have any problems with Axios get/post requests before. After the latest update, the Axios requests are successful, I check from the network and the successful response values are returning correctly, everything is fine when I try from Postman. However, after making the Axios request from React Native, the then, catch, and finally methods are not working, and I am unable to process the received result."
To Reproduce
No response
Code snippet
Expected behavior
No response
Axios Version
1.6.8
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
21.7.1
OS
iOS 17
Additional Library Versions
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: