membphis commented on issue #1684:
URL:
https://github.com/apache/incubator-apisix/issues/1684#issuecomment-641820011
```
local body = vars[\"request_body\"]
local a1 = body[\"a1\"]
local a2 = body[\"a2\"]
return a1 == \"a1\" and a2 == \"a2\"
```
that is the wrong way to fetch the request body.
please take a look at this:
https://github.com/openresty/lua-nginx-module#ngxreqget_body_data
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]