Grilled Steak
- userId
-
Beau Stiedemann @beau.stiedemann
- name
- Grilled Steak
- kind
- dinner
- calories
- 618
- proteinGrams
- 24.4
- carbsGrams
- 66.3
- fatGrams
- 28.3
- eatenAt
- createdAt
Overview
meals / #265
Grilled Steak
#265
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/265" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/265" ); 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/265"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/265"
)
meal = res.json() Response
{
"id": 265,
"userId": 64,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 618,
"proteinGrams": 24.4,
"carbsGrams": 66.3,
"fatGrams": 28.3,
"eatenAt": "2025-08-08T02:54:04.439Z",
"createdAt": "2025-08-08T03:17:32.636Z"
}