Grilled Chicken Salad
- userId
-
Kenya Abshire @kenya.abshire
- name
- Grilled Chicken Salad
- kind
- lunch
- calories
- 273
- proteinGrams
- 32.1
- carbsGrams
- 26.1
- fatGrams
- 4.5
- eatenAt
- createdAt
Overview
meals / #81
Grilled Chicken Salad
#81
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/81" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/81" ); 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/81"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/81"
)
meal = res.json() Response
{
"id": 81,
"userId": 18,
"name": "Grilled Chicken Salad",
"kind": "lunch",
"calories": 273,
"proteinGrams": 32.1,
"carbsGrams": 26.1,
"fatGrams": 4.5,
"eatenAt": "2025-11-12T11:30:45.177Z",
"createdAt": "2025-11-12T11:36:05.802Z"
}