You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/18 03:24:46 UTC

[GitHub] [apisix] Caelebs commented on issue #3069: request help: How to get the requested URI and request method in the lua code?

Caelebs commented on issue #3069:
URL: https://github.com/apache/apisix/issues/3069#issuecomment-747844195


   Thank you for your reply, I can already get the required parameters
   
   ```
       local req_method = ctx.var.request_method
       local req_uri    = ctx.var.request_uri
   ```
   @membphis 


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