Falafel Bowl
- userId
-
Tabitha McKenzie @tabitha_mckenzie
- name
- Falafel Bowl
- kind
- lunch
- calories
- 501
- proteinGrams
- 19.3
- carbsGrams
- 30.1
- fatGrams
- 33.7
- eatenAt
- createdAt
Overview
meals / #403
Falafel Bowl
#403
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/403" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/403" ); 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/403"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/403"
)
meal = res.json() Response
{
"id": 403,
"userId": 98,
"name": "Falafel Bowl",
"kind": "lunch",
"calories": 501,
"proteinGrams": 19.3,
"carbsGrams": 30.1,
"fatGrams": 33.7,
"eatenAt": "2025-08-18T04:52:16.448Z",
"createdAt": "2025-08-18T05:14:46.801Z"
}