Quantcast
Channel: Nginx Forum - Nginx Mailing List - English
Viewing all articles
Browse latest Browse all 7229

using location.capture to post a form (1 reply)

$
0
0
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 parameter.

Any suggestion would really be appreciated.

-Jyoti

Viewing all articles
Browse latest Browse all 7229

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>