Using the vue axios send a get request and carry objects, Java background how to receive parameters,
Let data={
https://bbs.csdn.net/topics/Brand: {
Name: 'asus'
Letter: 'H',
},
Cids: [1, 2]
}
Let {data: res}=await this. $axios. Get (" item/brand/save ", {params: data})
CodePudding user response:
Built as an attribute class and then use the @ ResponseBody
CodePudding user response:
In accordance with your method tried, POST request is no problem, but GET or not
CodePudding user response: