example-data.com

meals / #68

userId
Casimir Smitham @casimir_smitham35
name
Falafel Bowl
kind
lunch
calories
292
proteinGrams
5.9
carbsGrams
49.8
fatGrams
7.7
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/68"
)
meal = res.json()
{
  "id": 68,
  "userId": 16,
  "name": "Falafel Bowl",
  "kind": "lunch",
  "calories": 292,
  "proteinGrams": 5.9,
  "carbsGrams": 49.8,
  "fatGrams": 7.7,
  "eatenAt": "2026-03-06T02:59:33.651Z",
  "createdAt": "2026-03-06T03:20:35.792Z"
}
Draftbit