Grilled Steak
- userId
-
Ricky Langosh @ricky.langosh66
- name
- Grilled Steak
- kind
- dinner
- calories
- 553
- proteinGrams
- 27.4
- carbsGrams
- 71
- fatGrams
- 17.7
- eatenAt
- createdAt
Overview
meals / #817
Grilled Steak
#817
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/817" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/817" ); 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/817"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/817"
)
meal = res.json() Response
{
"id": 817,
"userId": 198,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 553,
"proteinGrams": 27.4,
"carbsGrams": 71,
"fatGrams": 17.7,
"eatenAt": "2025-12-09T19:24:41.010Z",
"createdAt": "2025-12-09T19:37:30.580Z"
}