example-data.com

meals / #203

userId
Jolie Abernathy @jolie_abernathy33
name
Grilled Steak
kind
dinner
calories
697
proteinGrams
19.8
carbsGrams
72.7
fatGrams
36.3
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/203"
)
meal = res.json()
{
  "id": 203,
  "userId": 50,
  "name": "Grilled Steak",
  "kind": "dinner",
  "calories": 697,
  "proteinGrams": 19.8,
  "carbsGrams": 72.7,
  "fatGrams": 36.3,
  "eatenAt": "2026-05-18T00:47:10.304Z",
  "createdAt": "2026-05-18T00:53:34.296Z"
}
Draftbit