example-data.com
Menu
Browse docs and collections

Overview

quotes / #114

Odio coma quia carbo demoror celebrer aer optio ratione adstringo fugit.

text
Odio coma quia carbo demoror celebrer aer optio ratione adstringo fugit.
authorName
Alvin Mitchell
source
category
Love
createdAt

Component variants

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/quotes/114" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/quotes/114"
);
const quote = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/quotes.d.ts https://example-data.com/types/quotes.d.ts
import type { Quote } from "./types/quotes";

const res = await fetch(
  "https://example-data.com/api/v1/quotes/114"
);
const quote = (await res.json()) as Quote;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/quotes/114"
)
quote = res.json()

Response

{
  "id": 114,
  "text": "Odio coma quia carbo demoror celebrer aer optio ratione adstringo fugit.",
  "authorName": "Alvin Mitchell",
  "source": null,
  "category": "Love",
  "createdAt": "2025-04-09T13:04:58.961Z"
}