the code is as follows
async function request(data) {
const response = await axios({
method: "POST",
url: config.apiUrl,
headers: { "Content-Type": "application/x-www-form-urlencoded; charset=GBK" },
data,
//
responseType: "arraybuffer", // default
});
return response.data;
}
but the actual request still becomes" application/x-www-form-urlencoded; charset=UTF-8"
.
is there any way to force no change