You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
O operador GET retorna um vetor com os alunos associada à aquela rota.
[
{
"id_aluno": 12,
"nome": "XYZ",
} ,
{ },
{ }
]
O operador DELETE apaga o vínculo da rotas com aquele aluno. Recebe como parâmetro um conjunto de alunos.
[
{ "id_aluno": 2 },
{ "id_aluno": 10}
]
O operador POST vincula a rotas com os alunos do endpoint.
[
{ "id_aluno": 2 },
{ "id_aluno": 10}
]
The text was updated successfully, but these errors were encountered:
marcosroriz
changed the title
Criar endpoint /rotas/{codigo_municipio}/{id_rota}/alunos com os operadores GET/POST/DELETE #17 #18
Criar endpoint /rotas/{codigo_municipio}/{id_rota}/alunos com os operadores GET/POST/DELETE
Oct 26, 2021
O operador GET retorna um vetor com os alunos associada à aquela rota.
O operador DELETE apaga o vínculo da rotas com aquele aluno. Recebe como parâmetro um conjunto de alunos.
O operador POST vincula a rotas com os alunos do endpoint.
The text was updated successfully, but these errors were encountered: