GETGet Trivia By Id
https://api-trivia.dataandapis.com/v1/trivia/{id}
Parámetros de ruta
| Parámetro | Ejemplo | |
|---|---|---|
| id | 142 | Obligatorio |
Petición de ejemplo
curl "https://api-trivia.dataandapis.com/v1/trivia/142" \
-H "X-Api-Key: YOUR_API_KEY"{
"id": 142,
"category": "Entertainment: Comics",
"type": "multiple",
"difficulty": "hard",
"question": "In the Batman comics, by what other name is the villain Dr. Jonathan Crane known?",
"correct_answer": "Scarecrow",
"incorrect_answers": [
"Bane",
"Calendar Man",
"Clayface"
]
}



