forget99 commented on issue #9718:
URL: https://github.com/apache/apisix/issues/9718#issuecomment-1608949562

   > In your code you haven't even used `setVars()` 🤦🏼‍♂️
   
   @shreemaan-abhishek I'm sorry, I made a mistake in copying。
   
   this is my code:
   `
       @Override
       public void filter(HttpRequest request, HttpResponse response, 
PluginFilterChain chain) {
           logger.info("【进入前置拦截过滤器】");
   
           // The parameter required for upstream services is JSON,SetVars not 
supported
           Map<String, String> paramMap = new LinkedHashMap<>();
           paramMap.put("id", "1");
           paramMap.put("name", "test");
           request.setVars(paramMap);
   
           chain.filter(request, response);
       }
   `


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