Published unlisted
Edited
Jun 8, 2022
1 star
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
import { deploy, getContext } from "@endpointservices/webcode"
Insert cell
Insert cell
deploy("info", async (request, response) => {
response.send(
`<pre>${JSON.stringify(
{
request,
response: Object.fromEntries(
Object.getOwnPropertyNames(response.__proto__).map((name) => [
name,
typeof response[name]
])
),
context: await getContext()
},
null,
2
)}</pre>`
);
})
Insert cell
### Example Response
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more