Welcome! Log In Create A New Profile

Advanced

Re: Recommended method to debug POST requests?

Maxim Dounin
December 03, 2018 09:10AM
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/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Recommended method to debug POST requests?

Ralph Seichter November 30, 2018 04:02PM

Re: Recommended method to debug POST requests?

Maxim Dounin December 03, 2018 09:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready