testhub/tests/hurl/create_new_quiz.hurl

10 lines
272 B
Text

POST http://localhost:3000/quizzes
{
"question": {"text": "Text of Question 1"},
"answers": [
{"text": "Text of the answer 1", "correct": true},
{"text": "Text of the answer 2"},
{"text": "Text of the answer 3"},
{"text": "Text of the answer 4"}
]
}