Qbi wrote about
Dog which is also able to fetch http and ftp content. Here I want to point you also to
libwww-perl (on debian) which includes a
GET command which does pretty much the same.
But the cool thing is that there also a
POST command which allows you to use the POST method of http.
UPDATE: dog site seems to be unavailable, use
google cache version.