Appetizers
Starters, snacks, and small bites to begin a meal.
food-categories / #1
Starters, snacks, and small bites to begin a meal.
curl -sS \
"https://example-data.com/api/v1/food-categories/1" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-categories/1"
);
const foodCategorie = await res.json();import type { FoodCategorie } from "https://example-data.com/types/food-categories.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/food-categories/1"
);
const foodCategorie = (await res.json()) as FoodCategorie;import requests
res = requests.get(
"https://example-data.com/api/v1/food-categories/1"
)
food_categorie = res.json() {
"id": 1,
"name": "Appetizers",
"slug": "appetizers",
"description": "Starters, snacks, and small bites to begin a meal.",
"parentId": null,
"sortOrder": 1
}