!7
html {
printAndProgramLog("Received call: " + uri);
printAndProgramLog("params=" + struct(params));
printAndProgramLog("headers=" + struct(subBot_getHeaders()));
printAndProgramLog("files=" + getUploadFiles());
//ret serveWithContentType("{}", "application/json");
Class nanoHTTPD = getClassInRealm(mainBot(), "main$NanoHTTPD");
Class status = getClassInRealm(mainBot(), "main$NanoHTTPD$Status");
O response = call(nanoHTTPD,
"newFixedLengthResponse",
get(status, "ACCEPTED"),
null, // no content type
"");
ret response;
}