Tofu Curry
- userId
-
Leonor Corwin @leonor_corwin3
- name
- Tofu Curry
- kind
- dinner
- calories
- 558
- proteinGrams
- 26
- carbsGrams
- 71.5
- fatGrams
- 18.7
- eatenAt
- createdAt
Overview
meals / #867
Tofu Curry
#867
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/867" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/867" ); 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/867"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/867"
)
meal = res.json() Response
{
"id": 867,
"userId": 211,
"name": "Tofu Curry",
"kind": "dinner",
"calories": 558,
"proteinGrams": 26,
"carbsGrams": 71.5,
"fatGrams": 18.7,
"eatenAt": "2025-09-19T20:10:53.116Z",
"createdAt": "2025-09-19T20:36:04.944Z"
}