Re: using location.capture to post a form

2014-09-18 Thread jpsonweb
Thank you Yichun, I was able to post the parameter from nginx by passing the arguments using this. local maken_res = ngx.location.capture("/test", { method = ngx.HTTP_POST, args = { pagelayout = dev_res_encoded }}); This works only when post parameter size is less than 81568 characters. When

using location.capture to post a form

2014-09-16 Thread jpsonweb
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 po