You can send everything in one object only.There's a lot of discussion about it when you're creating https://pt.stackoverflow.com/questions/45783/o-que-%C3%A9-rest-e-restful . For it is convention that each object must have its own Controller and that POST methods receive only one object.But this always goes according to the needs of the programmer/software.If you're sending everything at once, you can ride and send JSON this way for example:var Quiz = {
nome: "Quiz 01",
perguntas: [
{
nome: "Pergunta01",
respostas: [
{
nome: "resposta A"
},
{
nome: "resposta B"
}
]
},
{
nome: "Pergunta 02",
respostas: [
{
nome: "resposta A"
},
{
nome: "resposta B"
}
]
}
]
}
I hope I helped.