example-data.com

jokes / #9

setup
I'm on a seafood diet.
punchline
I see food and I eat it.
category
one_liner
rating
3.2
createdAt

Component variants

Medium

#9

#9

Small
jokes/9
curl -sS \
  "https://example-data.com/api/v1/jokes/9" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/jokes/9"
);
const joke = await res.json();
import type { Joke } from "https://example-data.com/types/jokes.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/jokes/9"
);
const joke = (await res.json()) as Joke;
import requests

res = requests.get(
    "https://example-data.com/api/v1/jokes/9"
)
joke = res.json()
{
  "id": 9,
  "setup": "I'm on a seafood diet.",
  "punchline": "I see food and I eat it.",
  "category": "one_liner",
  "rating": 3.2,
  "createdAt": "2026-04-18T01:42:42.352Z"
}
Draftbit