Mediterranean Bowl
- userId
-
Cayla Farrell @cayla_farrell
- name
- Mediterranean Bowl
- kind
- dinner
- calories
- 628
- proteinGrams
- 25
- carbsGrams
- 51.9
- fatGrams
- 35.6
- eatenAt
- createdAt
Overview
meals / #15
Mediterranean Bowl
#15
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/15" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/15" ); 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/15"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/15"
)
meal = res.json() Response
{
"id": 15,
"userId": 4,
"name": "Mediterranean Bowl",
"kind": "dinner",
"calories": 628,
"proteinGrams": 25,
"carbsGrams": 51.9,
"fatGrams": 35.6,
"eatenAt": "2025-07-04T12:37:06.892Z",
"createdAt": "2025-07-04T12:39:00.373Z"
}