example-data.com

meals / #97

userId
Antoinette Greenfelder @antoinette_greenfelder61
name
Egg White Omelette
kind
breakfast
calories
532
proteinGrams
52.7
carbsGrams
20.6
fatGrams
26.5
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/97"
)
meal = res.json()
{
  "id": 97,
  "userId": 22,
  "name": "Egg White Omelette",
  "kind": "breakfast",
  "calories": 532,
  "proteinGrams": 52.7,
  "carbsGrams": 20.6,
  "fatGrams": 26.5,
  "eatenAt": "2026-03-04T04:43:13.047Z",
  "createdAt": "2026-03-04T04:58:04.843Z"
}
Draftbit