Brown Rice and Veggies
- userId
-
Alvina Koch @alvina.koch8
- name
- Brown Rice and Veggies
- kind
- lunch
- calories
- 290
- proteinGrams
- 24.3
- carbsGrams
- 10.6
- fatGrams
- 16.7
- eatenAt
- createdAt
Overview
meals / #85
Brown Rice and Veggies
#85
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/85" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/85" ); 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/85"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/85"
)
meal = res.json() Response
{
"id": 85,
"userId": 20,
"name": "Brown Rice and Veggies",
"kind": "lunch",
"calories": 290,
"proteinGrams": 24.3,
"carbsGrams": 10.6,
"fatGrams": 16.7,
"eatenAt": "2026-04-29T12:59:04.960Z",
"createdAt": "2026-04-29T13:23:03.316Z"
}