Cold Beverages
Juices, smoothies, iced teas, and soft drinks.
food-categories / #20
Juices, smoothies, iced teas, and soft drinks.
curl -sS \
"https://example-data.com/api/v1/food-categories/20" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-categories/20"
);
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/20"
);
const foodCategorie = (await res.json()) as FoodCategorie;import requests
res = requests.get(
"https://example-data.com/api/v1/food-categories/20"
)
food_categorie = res.json() {
"id": 20,
"name": "Cold Beverages",
"slug": "cold-beverages",
"description": "Juices, smoothies, iced teas, and soft drinks.",
"parentId": 4,
"sortOrder": 2
}