Simple Http Server Grab Data Posted And Send To Another Server – Slightly Off Topic
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
One thought on - Simple Http Server Grab Data Posted And Send To Another Server – Slightly Off Topic
I did finally find something like this:
https://stackoverflow.com/questions/2506932/how-do-i-redirect-a-request-to-a-different-url-in-python
Jerry