post 拼接参数修改headers 添加 'Content-Type':'application/x-www-form-urlencoded'
axios({
method: 'post',
url: '/user',
data: {
firstName: '123',
lastName: '234'
},
headers:{
'Content-Type':'application/x-www-form-urlencoded'
}
});
post 拼接参数修改headers 添加 'Content-Type':'application/x-www-form-urlencoded'
axios({
method: 'post',
url: '/user',
data: {
firstName: '123',
lastName: '234'
},
headers:{
'Content-Type':'application/x-www-form-urlencoded'
}
});