Recommended method to debug POST requests?
Maxim Dounin
mdounin at mdounin.ru
Mon Dec 3 14:08:40 UTC 2018
Hello!
On Fri, Nov 30, 2018 at 10:00:33PM +0100, Ralph Seichter wrote:
> While searching for a way to debug POST requests in NGINX 1.15, I found
> a link to https://github.com/openresty/echo-nginx-module (the "HTTP
> Echo" module) on https://www.nginx.com/resources/wiki/modules/ .
>
> Is HTTP Echo the recommended way to go, or are there any alternatives,
> ideally methods that do not require third party addons?
Depending on what you are trying to debug:
- the $request_body variable, http://nginx.org/r/$request_body
- the $request_body_file variable, http://nginx.org/r/$request_body_file
- the client_body_in_file_only directive,
http://nginx.org/r/client_body_in_file_only
Also, the mirror module:
http://nginx.org/en/docs/http/ngx_http_mirror_module.html
and the embedded perl module:
http://nginx.org/en/docs/http/ngx_http_perl_module.html
might be also helpful.
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx
mailing list