example-data.com

quotes / #15

text
Happiness is not something ready made. It comes from your own actions.
authorName
Dalai Lama
source
category
Happiness
createdAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/quotes/15"
)
quote = res.json()
{
  "id": 15,
  "text": "Happiness is not something ready made. It comes from your own actions.",
  "authorName": "Dalai Lama",
  "source": null,
  "category": "Happiness",
  "createdAt": "2026-05-12T22:45:19.184Z"
}
Draftbit