Documentation IndexFetch the complete documentation index at: /docs/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
fetch
GET
const response = await fetch("https://bun.com"); const html = await response.text(); // HTML string
POST
const response = await fetch("https://bun.com/api", { method: "POST", body: JSON.stringify({ message: "Hello from Bun!" }), headers: { "Content-Type": "application/json" }, }); const body = await response.json();
Was this page helpful?