xxxxxxxxxx
// no import required for fetch
const response = await fetch("https://bun.sh/api", {
method: "POST",
body: JSON.stringify({ message: "Hello from Bun!" }),
headers: { "Content-Type": "application/json" },
});
const body = await response.json();