Source code

Revision control

Copy as Markdown

Other Tools

function handleRequest(request, response) {
response.setHeader("Content-Type", "application/json");
response.write(
JSON.stringify({
response: "something",
solved: request.queryString === "solved" ? true : null,
})
);
}