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.
Respond with JSON, for an API endpoint or for configuration data.
content-type
import * as BunnySDK from "@bunny.net/edgescript-sdk"; BunnySDK.net.http.serve( async (request: Request): Response | Promise<Response> => { const data = { weather: "sunny", temperature: 27, windspeed: 0, uvindex: 7, }; const json = JSON.stringify(data); return new Response(json, { headers: { "content-type": "application/json", }, }); }, );