> ## Documentation Index > Fetch the complete documentation index at: https://bunny.net/docs/llms.txt > Use this file to discover all available pages before exploring further. # Return HTML > Build an HTML document in the script and include data from the request, such as the path. This script returns an HTML page and drops the request path into the markup. ```ts theme={null} import * as BunnySDK from "@bunny.net/edgescript-sdk"; BunnySDK.net.http.serve( async (request: Request): Response | Promise => { const url = new URL(request.url); const html = ` HTML Edgescript example

Hello

there

Lorem ipsum bla bla
from ${url.pathname}
`; return new Response(html, { headers: { "content-type": "text/html", }, }); }, ); ``` This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.