example-data.com

quotes / #12

text
The unexamined life is not worth living.
authorName
Socrates
source
category
Philosophy
createdAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/quotes/12" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/quotes/12"
);
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/12"
);
const quote = (await res.json()) as Quote;
import requests

res = requests.get(
    "https://example-data.com/api/v1/quotes/12"
)
quote = res.json()
{
  "id": 12,
  "text": "The unexamined life is not worth living.",
  "authorName": "Socrates",
  "source": null,
  "category": "Philosophy",
  "createdAt": "2025-09-11T23:32:21.039Z"
}
Draftbit