Chicken Caesar Salad
- userId
-
Rupert Lebsack @rupert.lebsack
- name
- Chicken Caesar Salad
- kind
- lunch
- calories
- 861
- proteinGrams
- 56.1
- carbsGrams
- 77.5
- fatGrams
- 36.3
- eatenAt
- createdAt
Overview
meals / #1013
Chicken Caesar Salad
#1013
Request
curl example
curl -sS \ "https://example-data.com/api/v1/meals/1013" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/meals/1013" ); 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/1013"
);
const meal = (await res.json()) as Meal; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/meals/1013"
)
meal = res.json() Response
{
"id": 1013,
"userId": 249,
"name": "Chicken Caesar Salad",
"kind": "lunch",
"calories": 861,
"proteinGrams": 56.1,
"carbsGrams": 77.5,
"fatGrams": 36.3,
"eatenAt": "2025-10-17T15:19:29.026Z",
"createdAt": "2025-10-17T15:37:17.248Z"
}