Grilled Steak
- userId
-
Jolie Abernathy @jolie_abernathy33
- name
- Grilled Steak
- kind
- dinner
- calories
- 697
- proteinGrams
- 19.8
- carbsGrams
- 72.7
- fatGrams
- 36.3
- eatenAt
- createdAt
Overview
meals / #203
Grilled Steak
#203
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/203" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/203" ); 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/203"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/203"
)
meal = res.json() Response
{
"id": 203,
"userId": 50,
"name": "Grilled Steak",
"kind": "dinner",
"calories": 697,
"proteinGrams": 19.8,
"carbsGrams": 72.7,
"fatGrams": 36.3,
"eatenAt": "2026-05-18T00:47:10.304Z",
"createdAt": "2026-05-18T00:53:34.296Z"
}