example-data.com

food-categories / #24

Steamed Vegetables

Seasonal vegetables, corn on the cob, and mixed greens.

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/food-categories/24"
)
food_categorie = res.json()
{
  "id": 24,
  "name": "Steamed Vegetables",
  "slug": "steamed-vegetables",
  "description": "Seasonal vegetables, corn on the cob, and mixed greens.",
  "parentId": 5,
  "sortOrder": 3
}
Draftbit