sshniro opened a new issue #1897:
URL: https://github.com/apache/incubator-apisix/issues/1897


   Hello, I need to allow or reject API calls via performing a regex check on 
the request body. Is there a mechanism available in APISIX to do this? or this 
should be a custom plugin?
   
   POST Data
   ```json
   body:{
     "topic_name": "prefix_a"
   }
   ```
   
   APISIX Code
   ```lua
   -- decode body
   -- run regex on topic name
   -- allow if it conforms to the regex pattern
   ```


----------------------------------------------------------------
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


Reply via email to