Submete as respostas do quiz
Envia as respostas do quiz e retorna as plantas compatíveis com base nas respostas.
POST
/quiz/submit
curl \
--request POST 'http://localhost:8000/quiz/submit' \
--header "Content-Type: application/json" \
--data '{"responses":{"additionalProperty1":"string","additionalProperty2":"string"}}'
Request examples
{
"responses": {
"additionalProperty1": "string",
"additionalProperty2": "string"
}
}
Response examples (200)
[
{
"id": 42,
"name": "string",
"image": "string"
}
]
Response examples (400)
{
"message": "Erro ao submeter as respostas."
}
Response examples (500)
{
"error": "Não foi possível obter as plantas."
}