testhub/tests/hurl/create_new_quiz.hurl

11 lines
272 B
Text
Raw Permalink Normal View History

2022-06-23 11:12:00 +02:00
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"}
]
}