HTTP POST REQUEST using python
Question: I've a web server setup in a separate location and I wanted to access it
remotely using HTTP POST request. Can someone please guide me how to proceed
with it. I need to use Python which runs the HTTP Post request and modifies
the contents of the WEB page


Answer: Although probably not particularly practical, you could use a socket. A script
on the server which receives the POST request would have to modify the desired
web pages content upon receipt.

    
    
    import socket
    
    sock = socket.socket()
    sock.connect(('server_domainname.com', 80))
    sock.sendall(b'POST / HTTP/1.1\r\nHost: server_domainname.com:80\r\n\r\n')
    

