Welcome! Log In Create A New Profile

Advanced

How can I grab content from ngx_http_request_t?

Posted by sxh389 
How can I grab content from ngx_http_request_t?
June 02, 2015 05:06AM
Hi all,

I am building a module which talks to my other c++ applications. So far I am able to read uri, args, content type and content length from header. But I am not sure where is the actual content stored.

E.g. I am sending stringified json through jquery, but the request_body is always empty! Don't know where to look.

Many thanks,

Shuo
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 325
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready