example-data.com

meals / #82

userId
Kenya Abshire @kenya.abshire
name
Falafel Bowl
kind
lunch
calories
553
proteinGrams
40.8
carbsGrams
29.8
fatGrams
30.1
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/82"
)
meal = res.json()
{
  "id": 82,
  "userId": 18,
  "name": "Falafel Bowl",
  "kind": "lunch",
  "calories": 553,
  "proteinGrams": 40.8,
  "carbsGrams": 29.8,
  "fatGrams": 30.1,
  "eatenAt": "2025-11-06T18:30:13.117Z",
  "createdAt": "2025-11-06T18:47:15.407Z"
}
Draftbit