diff --git a/scripts/api.lua b/scripts/api.lua new file mode 100644 index 0000000000..8f26ad83a5 --- /dev/null +++ b/scripts/api.lua @@ -0,0 +1,24 @@ +stream:write("Content-Type: text/html\n\n"); +stream:write("
" .. reply .. "\n"); + end + +end + +env:addHeader("cool", "true"); +stream:write("
" .. env:serialize() .. ""); + + +