in reply to POST request issue
Check LWP::UserAgentHTTP::Request::Common
However, you should only consider what the server expects, but not what you like to send.