using location.capture to post a form

jpsonweb nginx-forum at
Tue Sep 16 18:24:18 UTC 2014

Hi All,
 I am calling an webapplication from nginx.  I want to capture the response
and post the response body as a post parameter to another application. 
I am doing something like this


 local maken_res = ngx.location.capture("/test", { method = ngx.HTTP_POST
,body =  "name = John"})

  The post goes through but receiving application does not get request

Any suggestion would really be appreciated.


Posted at Nginx Forum:,253311,253311#msg-253311

More information about the nginx mailing list