meals / #39
- userId
-
Jaycee Erdman @jaycee_erdman96
- name
- Turkey Sandwich
- kind
- lunch
- calories
- 533
- proteinGrams
- 34
- carbsGrams
- 67.3
- fatGrams
- 14.2
- eatenAt
- createdAt
Component variants
Medium
Turkey Sandwich
#39
Small
meals/39 Related
References
curl -sS \
"https://example-data.com/api/v1/meals/39" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/meals/39"
);
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/39"
);
const meal = (await res.json()) as Meal;import requests
res = requests.get(
"https://example-data.com/api/v1/meals/39"
)
meal = res.json() {
"id": 39,
"userId": 10,
"name": "Turkey Sandwich",
"kind": "lunch",
"calories": 533,
"proteinGrams": 34,
"carbsGrams": 67.3,
"fatGrams": 14.2,
"eatenAt": "2025-12-11T19:47:21.050Z",
"createdAt": "2025-12-11T19:49:30.004Z"
}