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
This code is working fine on iOS but on Android it says AxiosError: Network Error. When I try endpoints without underscore(_) its working fine. Example: https://tsoundervmat.timeviewtest.dk/........
Both are working on iOS and Android but with underscore only on iOS. When I try this endpoint with fetch() its working fine also.
"axios": "^1.6.8",
"react-native": "^0.64.3",
"react": "16.13.1",
To Reproduce
No response
Code snippet
No response
Expected behavior
No response
Axios Version
No response
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
const url =
https://${server}/api/thisisnotsensitiveinformationbutnoneedtomakeiteasytofind?applicationname=mobileclient
;const axiosConfig = {
method: 'GET',
url,
headers: {
Accept: 'application/json',
'Content-Type': 'application/json;charset=UTF-8',
},
};
try {
console.log('login api params 2', axiosConfig);
const respond = await axios(axiosConfig);
} catch (error) {
console.log('THERE IS AN ERROR14', error);
setTimeout(() => {
Alert.alert(
'Error',
'Fejl ved login, der er angivet forkert servernavn eller brugernavn.',
[{text: 'OK', onPress: () => console.log('OK Pressed')}],
);
}, 100);
console.log(error);
throw error;
}
we have this code. Axios config is equal to:
LOG login api params 2 {"headers": {"Accept": "application/json", "Content-Type": "application/json;charset=UTF-8"}, "method": "GET", "url": "https://tso_undervmat.timeviewtest.dk/api/thisisnotsensitiveinformationbutnoneedtomakeiteasytofind?applicationname=mobileclient"}
This code is working fine on iOS but on Android it says AxiosError: Network Error. When I try endpoints without underscore(_) its working fine. Example: https://tsoundervmat.timeviewtest.dk/........
Both are working on iOS and Android but with underscore only on iOS. When I try this endpoint with fetch() its working fine also.
"axios": "^1.6.8",
"react-native": "^0.64.3",
"react": "16.13.1",
To Reproduce
No response
Code snippet
No response
Expected behavior
No response
Axios Version
No response
Adapter Version
No response
Browser
No response
Browser Version
No response
Node.js Version
No response
OS
No response
Additional Library Versions
No response
Additional context/Screenshots
No response
The text was updated successfully, but these errors were encountered: