example-data.com
Menu
Browse docs and collections

Overview

quiz-questions / #662

Verbera ager cui sum balbus eaque adsidue tollo alioqui coaegresco id theca defetiscor?

quizId
quizzes/104
text
Verbera ager cui sum balbus eaque adsidue tollo alioqui coaegresco id theca defetiscor?
kind
short_answer
options
correctAnswer
the correct method name
sortOrder
2
createdAt

Component variants

Related

References

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/quiz-questions/662"
);
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/662"
);
const quizQuestion = (await res.json()) as QuizQuestion;

Python example

import requests

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

Response

{
  "id": 662,
  "quizId": 104,
  "text": "Verbera ager cui sum balbus eaque adsidue tollo alioqui coaegresco id theca defetiscor?",
  "kind": "short_answer",
  "options": [],
  "correctAnswer": "the correct method name",
  "sortOrder": 2,
  "createdAt": "2025-07-04T04:45:02.090Z"
}