example-data.com

tags / #14

howto

Component variants

Medium

howto

Small
howto
curl -sS \
  "https://example-data.com/api/v1/tags/14" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/tags/14"
);
const tag = await res.json();
import type { Tag } from "https://example-data.com/types/tags.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/tags/14"
);
const tag = (await res.json()) as Tag;
import requests

res = requests.get(
    "https://example-data.com/api/v1/tags/14"
)
tag = res.json()
{
  "id": 14,
  "name": "howto",
  "slug": "howto",
  "color": "#af7fcc",
  "useCount": 382
}
Draftbit