Salads
Fresh salads with various dressings and toppings.
food-categories / #8
Fresh salads with various dressings and toppings.
curl -sS \
"https://example-data.com/api/v1/food-categories/8" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/food-categories/8"
);
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/8"
);
const foodCategorie = (await res.json()) as FoodCategorie;import requests
res = requests.get(
"https://example-data.com/api/v1/food-categories/8"
)
food_categorie = res.json() {
"id": 8,
"name": "Salads",
"slug": "salads",
"description": "Fresh salads with various dressings and toppings.",
"parentId": 1,
"sortOrder": 2
}