example-data.com

quotes / #22

text
The journey of a thousand miles begins with one step.
authorName
Lao Tzu
source
category
Motivation
createdAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/quotes/22"
)
quote = res.json()
{
  "id": 22,
  "text": "The journey of a thousand miles begins with one step.",
  "authorName": "Lao Tzu",
  "source": null,
  "category": "Motivation",
  "createdAt": "2024-09-30T03:31:58.538Z"
}
Draftbit