sub http_post($$@) { my $url = shift; unshift @_, "POST", $url, "body"; &http_request }