example-data.com

meals / #53

userId
Judy Hackett @judy_hackett49
name
Sushi Roll
kind
lunch
calories
648
proteinGrams
11.6
carbsGrams
71.7
fatGrams
35
eatenAt
createdAt

Component variants

Related

curl -sS \
  "https://example-data.com/api/v1/meals/53" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/meals/53"
);
const meal = await res.json();
import type { Meal } from "https://example-data.com/types/meals.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/meals/53"
);
const meal = (await res.json()) as Meal;
import requests

res = requests.get(
    "https://example-data.com/api/v1/meals/53"
)
meal = res.json()
{
  "id": 53,
  "userId": 13,
  "name": "Sushi Roll",
  "kind": "lunch",
  "calories": 648,
  "proteinGrams": 11.6,
  "carbsGrams": 71.7,
  "fatGrams": 35,
  "eatenAt": "2025-12-23T06:49:17.455Z",
  "createdAt": "2025-12-23T07:16:03.189Z"
}
Draftbit