in reply to Getting HTTP POST without webserver??

The simple answer is to set up an apache web server. It's not that hard and shouldn't take that long. You'll also need a CGI script (presumably written in perl) to receive the data from the web server.

The hard answer is that you have to setup a server listening on port 80, figure out how to parse HTTP headers, and when it is a POST, do the right thing. But then, why would you do all that when a web server, perl, and CGI modules will do this for you and have been extensively tested?

  • Comment on Re: Getting HTTP POST without webserver??

Replies are listed 'Best First'.
Re^2: Getting HTTP POST without webserver??
by 7stud (Deacon) on Nov 13, 2010 at 19:36 UTC

    The hard answer is that you have to setup a server, i.e. a program written by the op, listening on port 80, figure out how to parse HTTP headers, and when it is a POST, do the right thing.

    Ahh. I hadn't thought of that.