quotes / #3
- text
- In the middle of difficulty lies opportunity.
- authorName
- Albert Einstein
- source
- —
- category
- Motivation
- createdAt
Component variants
Small
quotes/3 curl -sS \
"https://example-data.com/api/v1/quotes/3" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quotes/3"
);
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/3"
);
const quote = (await res.json()) as Quote;import requests
res = requests.get(
"https://example-data.com/api/v1/quotes/3"
)
quote = res.json() {
"id": 3,
"text": "In the middle of difficulty lies opportunity.",
"authorName": "Albert Einstein",
"source": null,
"category": "Motivation",
"createdAt": "2025-09-13T12:56:43.995Z"
}