Grilled Chicken Salad
- userId
-
Jo Haag-Mayer @jo_haag-mayer
- name
- Grilled Chicken Salad
- kind
- lunch
- calories
- 702
- proteinGrams
- 50.9
- carbsGrams
- 47
- fatGrams
- 34.5
- eatenAt
- createdAt
Overview
meals / #222
Grilled Chicken Salad
#222
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/222" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/222" ); 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/222"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/222"
)
meal = res.json() Response
{
"id": 222,
"userId": 54,
"name": "Grilled Chicken Salad",
"kind": "lunch",
"calories": 702,
"proteinGrams": 50.9,
"carbsGrams": 47,
"fatGrams": 34.5,
"eatenAt": "2025-07-14T16:09:53.743Z",
"createdAt": "2025-07-14T16:16:59.032Z"
}