Mediterranean Bowl
- userId
-
Samson Stroman @samson_stroman
- name
- Mediterranean Bowl
- kind
- dinner
- calories
- 400
- proteinGrams
- 28.8
- carbsGrams
- 8.1
- fatGrams
- 28
- eatenAt
- createdAt
Overview
meals / #214
Mediterranean Bowl
#214
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/214" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/214" ); 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/214"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/214"
)
meal = res.json() Response
{
"id": 214,
"userId": 52,
"name": "Mediterranean Bowl",
"kind": "dinner",
"calories": 400,
"proteinGrams": 28.8,
"carbsGrams": 8.1,
"fatGrams": 28,
"eatenAt": "2026-05-18T18:00:46.162Z",
"createdAt": "2026-05-18T18:29:47.427Z"
}