Deserunt amet tener pel nam aufero?
- quizId
- quizzes/57
- text
- Deserunt amet tener pel nam aufero?
- kind
- multiple_choice
- options
- amor fugit acerbitas turbo vomica abscido appello absens
- correctAnswer
- appello absens
- sortOrder
- 4
- createdAt
Overview
quiz-questions / #338
Request
curl example
curl -sS \ "https://example-data.com/api/v1/quiz-questions/338" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/quiz-questions/338" ); 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/338"
);
const quizQuestion = (await res.json()) as QuizQuestion; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/quiz-questions/338"
)
quiz_question = res.json() Response
{
"id": 338,
"quizId": 57,
"text": "Deserunt amet tener pel nam aufero?",
"kind": "multiple_choice",
"options": [
"amor",
"fugit acerbitas",
"turbo vomica abscido",
"appello absens"
],
"correctAnswer": "appello absens",
"sortOrder": 4,
"createdAt": "2024-10-25T19:58:26.363Z"
}