All examples use BASE_URL — set it to your deployment URL.
POST/api/uuid
Generate random v4 UUIDs. Batch up to 100.
const BASE_URL = "http://localhost:3000";
const res = await fetch(`${BASE_URL}/api/uuid`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ count: 5 }) // 1–100
});
const data = await res.json();
// → { success: true, uuids: ["550e8400-e29b-41d4-...", ...] }