I use API Gateway on AWS.
First, I activated CORS option and send a request on axios, then it worked.
And I activated content-encoding and I added axios option
axios.defaults.headers.post[‘Content-Encoding’] = ‘gzip’
Then CORS error occured.
How can I solve it?
Did you add correct headers directly to the axios POST ?
Maybe you could try