git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [users@httpd] Modifying request body and content type going to proxy url


> On 3 Jun 2018, at 07:23, Shiva Kumar K R <shiva.k@xxxxxxxxxxxxxxxxx> wrote:
> 
> Hi All,
> I am able to configure httpd as reverse proxy, I have to modify json body in post request coming from client to URL encoded format before sending that to specific proxy server, I have searched for the answer on the internet but got nothing can anyone give a hint on this.

There's no specific JSON parser, unless you can find a third-party module.

But if parsing your POST data as text works, then mod_sed may do the job for you.

-- 
Nick Kew
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-users/msg02663.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0009363024{main}( ).../msg02663.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-users/msg02663.html on line 85
Call Stack
#TimeMemoryFunctionLocation
10.0009363024{main}( ).../msg02663.html:0