Veggie Burger
- userId
-
Colby Kovacek @colby_kovacek40
- name
- Veggie Burger
- kind
- lunch
- calories
- 503
- proteinGrams
- 48.3
- carbsGrams
- 42.9
- fatGrams
- 15.4
- eatenAt
- createdAt
Overview
meals / #359
Veggie Burger
#359
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/359" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/359" ); 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/359"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/359"
)
meal = res.json() Response
{
"id": 359,
"userId": 85,
"name": "Veggie Burger",
"kind": "lunch",
"calories": 503,
"proteinGrams": 48.3,
"carbsGrams": 42.9,
"fatGrams": 15.4,
"eatenAt": "2026-02-27T01:59:37.907Z",
"createdAt": "2026-02-27T02:13:35.992Z"
}