curl --request POST \
--url https://api.example.com/cabinet/contests/{round_id}/answer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"round_id": 123,
"answer": "<string>"
}
'{
"is_winner": true,
"message": "<string>",
"prize_type": "<string>",
"prize_value": "<string>"
}Submit answer for a contest round.
curl --request POST \
--url https://api.example.com/cabinet/contests/{round_id}/answer \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"round_id": 123,
"answer": "<string>"
}
'{
"is_winner": true,
"message": "<string>",
"prize_type": "<string>",
"prize_value": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.