kys1230 commented on issue #7572:
URL: https://github.com/apache/apisix/issues/7572#issuecomment-1199701062

   通过以下方式实现了。
   
   I achieved it in the following ways.
   
   ```
   local core = require("apisix.core")
   
   local function getValue()
       request "value"
   end
   
   core.ctx.register_var("var_name", function(ctx)
       local var_a = getValue()
       return var
   end)
   ```


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