return function (connection, req, args)
dofile('httpserver-header.lc')(connection, 200, 'html')
connection:send('
Arguments by POST
Arguments by POST
')
if req.method == 'GET' then
connection:send([===[
Text:
]===])
elseif req.method == 'POST' then
local rd = req.getRequestData()
if rd['data'] ~= nil then
ws2812.write(1, rd['data'])
end
collectgarbage()
end
connection:send('')
end