in reply to Getting HTTP POST without webserver??

Philosophically speaking, you need a "web server", but not necessarily something with the full capacity.

If you care socket programming, just write a piece of simple program, listening at port 80 (or whatever), receiving incoming HTTP post request, processing it, and responding to it.

Or use something like LWP.

Peter (Guo) Pei

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

Replies are listed 'Best First'.
Re^2: Getting HTTP POST without webserver??
by bgi (Sexton) on Nov 14, 2010 at 16:16 UTC
    Thought so about the webserver thing, I like the last post and I think I will try it in this direction first, its no time pressure behind that and I would like to explore it...

    The whole story behind that is that I planned to tie a short javascript to a brwoser shortcurt which gets the url of the site im currently at and write it into a file or whatever... (just for keeping bookmarks) but when I discovered that javascript don't have such a function due to security reasons I try it to send via http now...

      Ajax can help in this case, and to make things easier, more stable, and more cross platform, try a javascript library, for example jquery.

      Peter (Guo) Pei