Hi, i’m connecting to an external https api from my app with axios.
However I’m getting 403 errors whenever I test the app on expo go.
If I enable react native debugger (with network inspector on) I no longer have any problems with 403.
Any ideas on how to solve this issue ?
This is an example of a simple request I’m making
axios
.post(
backend_loginWithGoogle,
{
provider: “google-oauth2”,
access_token: token,
},
{
headers: {
“Content-Type”: “application/json”,
},
}
)
.then((response) => {
console.log(response.data);
})
.catch((error) => {
console.log(error);
});