example-data.com

meals / #142

userId
Cassidy Christiansen @cassidy_christiansen38
name
Quinoa Bowl
kind
lunch
calories
394
proteinGrams
27.7
carbsGrams
31.6
fatGrams
17.4
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/142"
)
meal = res.json()
{
  "id": 142,
  "userId": 33,
  "name": "Quinoa Bowl",
  "kind": "lunch",
  "calories": 394,
  "proteinGrams": 27.7,
  "carbsGrams": 31.6,
  "fatGrams": 17.4,
  "eatenAt": "2026-03-28T07:02:12.108Z",
  "createdAt": "2026-03-28T07:03:14.131Z"
}
Draftbit