Catering Menu
- restaurantId
- Simonis, Reynolds and Harber · Dahliastead · ★ 3.5
- name
- Catering Menu
- description
- Classic favorites and chef-inspired creations.
- isActive
- true
- createdAt
- updatedAt
Overview
menus / #27
Request
curl example
curl -sS \ "https://example-data.com/api/v1/menus/27" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/menus/27" ); const menu = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/menus.d.ts https://example-data.com/types/menus.d.ts
import type { Menu } from "./types/menus";
const res = await fetch(
"https://example-data.com/api/v1/menus/27"
);
const menu = (await res.json()) as Menu; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/menus/27"
)
menu = res.json() Response
{
"id": 27,
"restaurantId": 17,
"name": "Catering Menu",
"description": "Classic favorites and chef-inspired creations.",
"isActive": true,
"createdAt": "2024-09-10T15:31:41.318Z",
"updatedAt": "2024-09-26T12:25:37.497Z"
}