example-data.com

quotes / #16

text
Success is not final, failure is not fatal: It is the courage to continue that counts.
authorName
Winston Churchill
source
category
Motivation
createdAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/quotes/16"
)
quote = res.json()
{
  "id": 16,
  "text": "Success is not final, failure is not fatal: It is the courage to continue that counts.",
  "authorName": "Winston Churchill",
  "source": null,
  "category": "Motivation",
  "createdAt": "2025-05-07T22:10:49.933Z"
}
Draftbit