Imagination is more important than knowledge.
- text
- Imagination is more important than knowledge.
- authorName
- Albert Einstein
- source
- —
- category
- Creativity
- createdAt
Overview
quotes / #23
Request
curl example
curl -sS \ "https://example-data.com/api/v1/quotes/23" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/quotes/23" ); const quote = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/quotes.d.ts https://example-data.com/types/quotes.d.ts
import type { Quote } from "./types/quotes";
const res = await fetch(
"https://example-data.com/api/v1/quotes/23"
);
const quote = (await res.json()) as Quote; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/quotes/23"
)
quote = res.json() Response
{
"id": 23,
"text": "Imagination is more important than knowledge.",
"authorName": "Albert Einstein",
"source": null,
"category": "Creativity",
"createdAt": "2025-04-17T01:55:34.116Z"
}