Tofu Curry
- userId
-
Rosina Larkin @rosina.larkin75
- name
- Tofu Curry
- kind
- dinner
- calories
- 637
- proteinGrams
- 30.9
- carbsGrams
- 71.5
- fatGrams
- 25.3
- eatenAt
- createdAt
Overview
meals / #424
Tofu Curry
#424
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/424" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/424" ); 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/424"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/424"
)
meal = res.json() Response
{
"id": 424,
"userId": 103,
"name": "Tofu Curry",
"kind": "dinner",
"calories": 637,
"proteinGrams": 30.9,
"carbsGrams": 71.5,
"fatGrams": 25.3,
"eatenAt": "2025-07-02T20:13:23.521Z",
"createdAt": "2025-07-02T20:42:59.036Z"
}