example-data.com

meals / #55

userId
Judy Hackett @judy_hackett49
name
Grilled Steak
kind
dinner
calories
335
proteinGrams
13.1
carbsGrams
6.4
fatGrams
28.6
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/55"
)
meal = res.json()
{
  "id": 55,
  "userId": 13,
  "name": "Grilled Steak",
  "kind": "dinner",
  "calories": 335,
  "proteinGrams": 13.1,
  "carbsGrams": 6.4,
  "fatGrams": 28.6,
  "eatenAt": "2025-09-28T20:25:46.878Z",
  "createdAt": "2025-09-28T20:31:50.610Z"
}
Draftbit