example-data.com

food-categories / #17

Ice Cream & Frozen

Ice cream, gelato, sorbet, and frozen desserts.

Component variants

curl -sS \
  "https://example-data.com/api/v1/food-categories/17" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/food-categories/17"
);
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/17"
);
const foodCategorie = (await res.json()) as FoodCategorie;
import requests

res = requests.get(
    "https://example-data.com/api/v1/food-categories/17"
)
food_categorie = res.json()
{
  "id": 17,
  "name": "Ice Cream & Frozen",
  "slug": "ice-cream-frozen",
  "description": "Ice cream, gelato, sorbet, and frozen desserts.",
  "parentId": 3,
  "sortOrder": 2
}
Draftbit