http_request "PUT" => $url, headers=>\%headerArray, body=>$content, sub {do stuff here};