I want to transfer the array of objects to the background using post. This is how I pass it:
Http({
method:"POST",
url:"addGroup",
data:qs.stringify({
"list":this.excelData
})
})
where excelData is an array of objects:
excelData:[{
name:xxx,
age;10
}{
name:xxx,
age;16
}]
the background gets an empty set when reading list:
ci_list=request.POST.getlist("list")
ci_list=request.POST.getlist("list[]")
What is the reason for ?