> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > stdin:1: ')' expected near ']'
> > > > > > > > > > > > > > > > > > > > > > = node.heap()
same error with the uploader esp8266 lualoader 0.70 after commenting out x = request.query["x"]
removing the line x = request.query["x"] allows the uploader to upload and the code works using the equivalent x = request.query.x
This a good evidence of an issue with the uploader esp8266 lualoader 0.70
See below
pages = {}
pages["/test"] = function(request)
return "<html><head><title>Web Test</title></head><body><h1>Web Test</h1><body>Request received: " .. request.method .. " " .. request.url .. "</body></html>"
end
pages["/test2"] = function(request)
x = request.query.x
--x = request.query["x"]
x2 = x * x
return "<html><head><title>Square</title></head><body><p>" .. x .. " squared is " .. x2 .. ".</p></body></html>"
end