Openresty: Difference between ngx.var.arg and ngx.req.get_uri_args
Both ngx.var.arg_x and ngx.req.get_uri_args["x"] are to get the parameters in the request uri, for example: https://tutorialspots.com/?test=1 In order to get the input parameter test, either…