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([===[
First name:

Last name:

MaleFemale
]===]) elseif req.method == "POST" then local rd = req.getRequestData() connection:send('

Received the following values:

') connection:send("\n") else connection:send("ERROR WTF req.method is ", req.method) end connection:send('') end