Tofu Curry
- userId
-
Kathleen Lynch @kathleen_lynch1
- name
- Tofu Curry
- kind
- dinner
- calories
- 496
- proteinGrams
- 29.9
- carbsGrams
- 19.8
- fatGrams
- 33
- eatenAt
- createdAt
Overview
meals / #578
Tofu Curry
#578
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/578" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/578" ); const meal = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/meals.d.ts https://example-data.com/types/meals.d.ts
import type { Meal } from "./types/meals";
const res = await fetch(
"https://example-data.com/api/v1/meals/578"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/578"
)
meal = res.json() Response
{
"id": 578,
"userId": 139,
"name": "Tofu Curry",
"kind": "dinner",
"calories": 496,
"proteinGrams": 29.9,
"carbsGrams": 19.8,
"fatGrams": 33,
"eatenAt": "2025-10-25T11:28:03.473Z",
"createdAt": "2025-10-25T11:52:24.924Z"
}