Grilled Steak
- userId
-
Lenny Howe @lenny.howe
- name
- Grilled Steak
- kind
- dinner
- calories
- 360
- proteinGrams
- 7.9
- carbsGrams
- 46.3
- fatGrams
- 15.9
- eatenAt
- createdAt
Overview
meals / #153
Grilled Steak
#153
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/153" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/153" ); 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/153"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/153"
)
meal = res.json() Response
{
"id": 153,
"userId": 37,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 360,
"proteinGrams": 7.9,
"carbsGrams": 46.3,
"fatGrams": 15.9,
"eatenAt": "2025-10-03T18:03:29.486Z",
"createdAt": "2025-10-03T18:19:58.951Z"
}