First, thank you for this awesome project! What a huge transfer size savings Redaxios is over Axios.
We have some code like below that works fine with Axios but fails with Redaxios:
const response = await axios({
method: 'POST',
url: getApiUrl(),
data: {
...formData,
},
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
});
We get:
Access to fetch at 'https://example.com/' from origin 'http://localhost:1212' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.
It seems possibly related to this question/answer