“Request header field content-encoding is not allowed by Access-Control-Allow-Headers in preflight response” Error

前端 未结 0 1593
不知归路
不知归路 2021-01-01 01:30

I am attempting to gzip my request payload using Axios. The request is:

axios({
  url: url,
  data,
  headers: {
    ‘Content-Encoding’: ‘gzip’,
  },
  method         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题