quotes / #18
- text
- If you tell the truth, you don't have to remember anything.
- authorName
- Mark Twain
- source
- —
- category
- Wisdom
- createdAt
Component variants
curl -sS \
"https://example-data.com/api/v1/quotes/18" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quotes/18"
);
const quote = await res.json();import type { Quote } from "https://example-data.com/types/quotes.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/quotes/18"
);
const quote = (await res.json()) as Quote;import requests
res = requests.get(
"https://example-data.com/api/v1/quotes/18"
)
quote = res.json() {
"id": 18,
"text": "If you tell the truth, you don't have to remember anything.",
"authorName": "Mark Twain",
"source": null,
"category": "Wisdom",
"createdAt": "2026-01-16T13:04:53.899Z"
}