application/x-www-form-urlencode
作者:
抽疯的稻草绳 | 来源:发表于
2021-08-07 23:54 被阅读0次

image.png
const res = await serviceApi.loginApi(this.params, {
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
})
console.log(res)

image.png
const params = new URLSearchParams();
params.append('mobile', this.params.mobile);
params.append('password', this.params.password)
const res = await serviceApi.loginApi(params, {
headers: {
'Content-Type': 'application/x-www-form-urlencoded'
}
})
console.log(res)
本文标题:application/x-www-form-urlencode
本文链接:https://www.haomeiwen.com/subject/mygbvltx.html
网友评论