example-data.com

meals / #204

userId
Jolie Abernathy @jolie_abernathy33
name
Egg White Omelette
kind
breakfast
calories
647
proteinGrams
42.6
carbsGrams
37.3
fatGrams
36.4
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/204"
)
meal = res.json()
{
  "id": 204,
  "userId": 50,
  "name": "Egg White Omelette",
  "kind": "breakfast",
  "calories": 647,
  "proteinGrams": 42.6,
  "carbsGrams": 37.3,
  "fatGrams": 36.4,
  "eatenAt": "2026-05-03T18:45:27.790Z",
  "createdAt": "2026-05-03T19:12:52.765Z"
}
Draftbit