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/07/08 13:37:29 UTC

[GitHub] [incubator-apisix] UnderTreeTech opened a new issue #1820: request help: how to get request body and url parameters

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


   In apisix core.request it only expose apis to get/set header, get remote ip.  I wanna develop a plugin to check request signature is valid or not, How to get request body and url parameters?


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



[GitHub] [incubator-apisix] membphis commented on issue #1820: request help: how to get request body and url parameters

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1820:
URL: https://github.com/apache/incubator-apisix/issues/1820#issuecomment-655527361


   read request body, please take a look at this document: https://github.com/openresty/lua-nginx-module#ngxreqread_body
   
   read URL parameters, you can take a look at this document: https://github.com/openresty/lua-nginx-module#ngxreqget_uri_args


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



[GitHub] [incubator-apisix] membphis commented on issue #1820: request help: how to get request body and url parameters

Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1820:
URL: https://github.com/apache/incubator-apisix/issues/1820#issuecomment-655593707


   yes, that is better. welcome PR ^_^


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



[GitHub] [incubator-apisix] UnderTreeTech commented on issue #1820: request help: how to get request body and url parameters

Posted by GitBox <gi...@apache.org>.
UnderTreeTech commented on issue #1820:
URL: https://github.com/apache/incubator-apisix/issues/1820#issuecomment-655534394


   I think it's better to expose apis to get body and url parameters in core.request. Users can start to develop quickly based on apisix. @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