quotes / #4
- text
- Whether you think you can, or you think you can't — you're right.
- authorName
- Henry Ford
- source
- —
- category
- Mindset
- createdAt
Component variants
curl -sS \
"https://example-data.com/api/v1/quotes/4" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/quotes/4"
);
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/4"
);
const quote = (await res.json()) as Quote;import requests
res = requests.get(
"https://example-data.com/api/v1/quotes/4"
)
quote = res.json() {
"id": 4,
"text": "Whether you think you can, or you think you can't — you're right.",
"authorName": "Henry Ford",
"source": null,
"category": "Mindset",
"createdAt": "2025-04-12T12:13:30.104Z"
}