Veggie Burger
- userId
-
Diana Murazik @diana.murazik31
- name
- Veggie Burger
- kind
- lunch
- calories
- 713
- proteinGrams
- 54.3
- carbsGrams
- 50.8
- fatGrams
- 32.5
- eatenAt
- createdAt
Overview
meals / #519
Veggie Burger
#519
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/519" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/519" ); 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/519"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/519"
)
meal = res.json() Response
{
"id": 519,
"userId": 125,
"name": "Veggie Burger",
"kind": "lunch",
"calories": 713,
"proteinGrams": 54.3,
"carbsGrams": 50.8,
"fatGrams": 32.5,
"eatenAt": "2026-01-21T06:20:21.213Z",
"createdAt": "2026-01-21T06:34:12.256Z"
}