quiz-questions / #46
- quizId
- 7
- text
- Confero mollitia tabula adfero coma utor sub beatae placeat tabgo temperantia?
- kind
- short_answer
- options
-
- correctAnswer
- the correct method name
- sortOrder
- 7
- createdAt
Component variants
curl -sS \
"https://example-data.com/api/v1/quiz-questions/46" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quiz-questions/46"
);
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/46"
);
const quizQuestion = (await res.json()) as QuizQuestion;import requests
res = requests.get(
"https://example-data.com/api/v1/quiz-questions/46"
)
quiz_question = res.json() {
"id": 46,
"quizId": 7,
"text": "Confero mollitia tabula adfero coma utor sub beatae placeat tabgo temperantia?",
"kind": "short_answer",
"options": [],
"correctAnswer": "the correct method name",
"sortOrder": 7,
"createdAt": "2024-08-15T20:45:52.265Z"
}