membphis edited a comment on issue #841: I'm trying to develop an ab-test 
plugin, how to implement it?
URL: 
https://github.com/apache/incubator-apisix/issues/841#issuecomment-552736938
 
 
   Better way: we can support more operator like `mod` for 
`lua-resty-radixtree`.
   
   Here is the operator list of current:
   https://github.com/iresty/lua-resty-radixtree#operator-list
   
   It may be like this:
   ```
   curl -i http://127.0.0.1:9080/apisix/admin/routes/1 -X PUT -d '
   {
       "uri": "/index.html",
       "vars": [
           {"arg_id", "%", "7", "<=", 4}
       ]
       "plugins": {
           "redirect": {
               "uri": "/test?group_id=234"
           }
       }
   }'
   ```

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to