example-data.com

meals / #110

userId
Jennifer Stoltenberg @jennifer_stoltenberg
name
Hummus and Veggies
kind
snack
calories
479
proteinGrams
41.1
carbsGrams
54.9
fatGrams
10.5
eatenAt
createdAt

Component variants

Related

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

res = requests.get(
    "https://example-data.com/api/v1/meals/110"
)
meal = res.json()
{
  "id": 110,
  "userId": 25,
  "name": "Hummus and Veggies",
  "kind": "snack",
  "calories": 479,
  "proteinGrams": 41.1,
  "carbsGrams": 54.9,
  "fatGrams": 10.5,
  "eatenAt": "2025-11-11T03:29:03.666Z",
  "createdAt": "2025-11-11T03:36:33.507Z"
}
Draftbit