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.