Components

Copy

await fetch("/api/keys", {  method: "POST",  body: JSON.stringify({ name }),});
Copy