Cariosus vomica recusandae suggero cunae vis calco vesco toties?
- quizId
- quizzes/58
- text
- Cariosus vomica recusandae suggero cunae vis calco vesco toties?
- kind
- short_answer
- options
-
- correctAnswer
- the expected output
- sortOrder
- 4
- createdAt
Overview
quiz-questions / #348
Request
curl example
curl -sS \ "https://example-data.com/api/v1/quiz-questions/348" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/quiz-questions/348" ); 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/348"
);
const quizQuestion = (await res.json()) as QuizQuestion; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/quiz-questions/348"
)
quiz_question = res.json() Response
{
"id": 348,
"quizId": 58,
"text": "Cariosus vomica recusandae suggero cunae vis calco vesco toties?",
"kind": "short_answer",
"options": [],
"correctAnswer": "the expected output",
"sortOrder": 4,
"createdAt": "2024-10-27T07:20:52.722Z"
}