example-data.com

meals / #114

userId
Melvina Reilly @melvina_reilly83
name
Hard Boiled Eggs
kind
snack
calories
673
proteinGrams
56.3
carbsGrams
63.8
fatGrams
21.4
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/114"
)
meal = res.json()
{
  "id": 114,
  "userId": 26,
  "name": "Hard Boiled Eggs",
  "kind": "snack",
  "calories": 673,
  "proteinGrams": 56.3,
  "carbsGrams": 63.8,
  "fatGrams": 21.4,
  "eatenAt": "2026-01-18T07:12:48.385Z",
  "createdAt": "2026-01-18T07:31:59.073Z"
}
Draftbit