example-data.com

meals / #80

userId
Kenya Abshire @kenya.abshire
name
Rice Cakes
kind
snack
calories
348
proteinGrams
33.1
carbsGrams
44.8
fatGrams
4
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/80"
)
meal = res.json()
{
  "id": 80,
  "userId": 18,
  "name": "Rice Cakes",
  "kind": "snack",
  "calories": 348,
  "proteinGrams": 33.1,
  "carbsGrams": 44.8,
  "fatGrams": 4,
  "eatenAt": "2026-02-24T22:11:07.698Z",
  "createdAt": "2026-02-24T22:40:25.260Z"
}
Draftbit