example-data.com
Menu
Browse docs and collections

Overview

quiz-questions / #63

Vere tibi suasoria absens vulnero vivo?

quizId
quizzes/9
text
Vere tibi suasoria absens vulnero vivo?
kind
true_false
options
True False
correctAnswer
True
sortOrder
9
createdAt

Component variants

Related

References

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/quiz-questions/63" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/quiz-questions/63"
);
const quizQuestion = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/quiz-questions.d.ts https://example-data.com/types/quiz-questions.d.ts
import type { QuizQuestion } from "./types/quiz-questions";

const res = await fetch(
  "https://example-data.com/api/v1/quiz-questions/63"
);
const quizQuestion = (await res.json()) as QuizQuestion;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/quiz-questions/63"
)
quiz_question = res.json()

Response

{
  "id": 63,
  "quizId": 9,
  "text": "Vere tibi suasoria absens vulnero vivo?",
  "kind": "true_false",
  "options": [
    "True",
    "False"
  ],
  "correctAnswer": "True",
  "sortOrder": 9,
  "createdAt": "2025-04-03T09:07:36.010Z"
}