example-data.com

meals / #85

userId
Alvina Koch @alvina.koch8
name
Brown Rice and Veggies
kind
lunch
calories
290
proteinGrams
24.3
carbsGrams
10.6
fatGrams
16.7
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/85"
)
meal = res.json()
{
  "id": 85,
  "userId": 20,
  "name": "Brown Rice and Veggies",
  "kind": "lunch",
  "calories": 290,
  "proteinGrams": 24.3,
  "carbsGrams": 10.6,
  "fatGrams": 16.7,
  "eatenAt": "2026-04-29T12:59:04.960Z",
  "createdAt": "2026-04-29T13:23:03.316Z"
}
Draftbit