[CentOS] simple http server grab data posted and send to another server - slightly off topic

Thu Jan 21 21:58:55 UTC 2021
Jerry Geis <jerry.geis at gmail.com>

Hi All,

anyone know how to make a "simple" http server (python -m SimpleHTTPServer
8000) type of stuff - but simply take the incoming data, (should be real
small) and when received - send that to a different server . This is
different than "redirect" as that is the issue. The device does not
understand the redirect response that is happening now. So I was looking
for a way to "consume" the post - then re-send the post.

It has to be independent of httpd as that is in use.

CentOS 7 is my platform.

Thanks

Jerry