pottekkat commented on issue #1927:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/1927#issuecomment-1875108303

   As a workaround, you can use regular expression matching. For example:
   
   ```yaml
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: speaker-topics-route
   spec:
     http:
       - name: speaker-topics
         match:
           hosts:
             - conferenceapi.azurewebsites.net
           paths:
             - /*
           exprs:
             - subject:
                 scope: Path
                 name: topics
               op: RegexMatch
               value: "^/speaker/[^/]*/topics$"
           methods:
             - "GET"
         upstreams:
           - name: conference-api-upstream
   ```
   
   See 
[navendu.me/posts/batching-requests](https://navendu.me/posts/batching-requests/#configure-routes)
 for full explanation.
   
   Should we still change the rule or continue with this workaround?


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to