echo-nginx-module icon indicating copy to clipboard operation
echo-nginx-module copied to clipboard

Problem with $request_body

Open BruXy opened this issue 5 years ago • 0 comments

I think, that this example from documentation echo_read_request_body of does not work:

location / {
     echo_read_request_body;
     echo "Start";
     echo $request_body; # <- NOTHING
     echo $echo_request_body; # <- data OK
     echo "Stop";
}

I was digging for $request_body and it has no value, data provided in POST request are in $echo_request_body.

What should be the correct behavior?

BruXy avatar Oct 08 '19 19:10 BruXy