testhub/tests/hurl/create_test.hurl

10 lines
270 B
Text

POST http://localhost:3000/tests
{
"question": {"text": "Test 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"}
]
}