使用axios
axios({
url: "url",
method: "post",
data: data,
headers: {
"Content-Type": "text/plain",
},
}).then((res) => {
console.log(res);
});
更多推荐
Content-Type为text/plain的请求方式
发布评论