in reply to
Creating A Request
See
this node
for an example of creating a POST on-the-fly. The one you're creating is missing the protocol version in the header. That might cause problems with some web servers.
Comment on
Re: Creating A Request
In Section
Seekers of Perl Wisdom