quiz-questions / #129
- quizId
- 20
- text
- Uter mollitia vir illum in suggero?
- kind
- short_answer
- options
-
- correctAnswer
- the expected output
- sortOrder
- 6
- createdAt
Component variants
curl -sS \
"https://example-data.com/api/v1/quiz-questions/129" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quiz-questions/129"
);
const quizQuestion = await res.json();import type { QuizQuestion } from "https://example-data.com/types/quiz-questions.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/quiz-questions/129"
);
const quizQuestion = (await res.json()) as QuizQuestion;import requests
res = requests.get(
"https://example-data.com/api/v1/quiz-questions/129"
)
quiz_question = res.json() {
"id": 129,
"quizId": 20,
"text": "Uter mollitia vir illum in suggero?",
"kind": "short_answer",
"options": [],
"correctAnswer": "the expected output",
"sortOrder": 6,
"createdAt": "2024-09-01T17:25:53.371Z"
}