When having a page that accepts a POST request and running it via jQuery, I get an OpenResty error:
25031#0: *237 client sent invalid method while reading client pipelined request line, client: <snip>, server: <snip>, request: "name=&gamemode=&plugname=&port="
I'm not sure why. If you need any more information, just ask.
First, I agree with lhf that is not related to Lua.
Possibly this page has relevant info https://github.com/openresty/ngx_openresty/issues/32
Hint - use Google:-)