{
    "mode": "perldoc",
    "parameter": "Net::HTTPS::Any",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3AHTTPS%3A%3AAny/json",
    "generated": "2026-10-08T14:10:16Z",
    "synopsis": "use Net::HTTPS::Any qw(httpsget httpspost);\n( $page, $response, %replyheaders )\n= httpsget(\n{ 'host' => 'www.fortify.net',\n'port' => 443,\n'path' => '/sslcheck.html',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n},\n);\n( $page, $response, %replyheaders )\n= httpspost(\n'host' => 'www.google.com',\n'port' => 443,\n'path' => '/accounts/ServiceLoginAuth',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n);\n#...",
    "sections": {
        "NAME": {
            "content": "Net::HTTPS::Any - Simple HTTPS client\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::HTTPS::Any qw(httpsget httpspost);\n\n( $page, $response, %replyheaders )\n= httpsget(\n{ 'host' => 'www.fortify.net',\n'port' => 443,\n'path' => '/sslcheck.html',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n},\n);\n\n( $page, $response, %replyheaders )\n= httpspost(\n'host' => 'www.google.com',\n'port' => 443,\n'path' => '/accounts/ServiceLoginAuth',\n'args' => { 'field' => 'value' },\n#'args' => [ 'field'=>'value' ], #order preserved\n);\n\n#...\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This is a wrapper around Net::SSLeay providing a simple interface for the use of\nBusiness::OnlinePayment.\n\nIt used to allow switching between Net::SSLeay and Crypt::SSLeay implementations, but that was\nobsoleted. If you need to do that, use LWP instead. You can set $Net::HTTPS::SSLSOCKETCLASS =\n\"Net::SSL\" for Crypt::SSLeay instead of the default Net::SSLeay (since 6.02).\n",
            "subsections": []
        },
        "FUNCTIONS": {
            "content": "httpsget HASHREF | FIELD => VALUE, ...\nAccepts parameters as either a hashref or a list of fields and values.\n\nParameters are:\n\nhost\nport\npath\nheaders (hashref)\nFor example: { 'X-Header1' => 'value', ... }\n\nargs\nCGI arguments, either as a hashref or a listref. In the latter case, ordering is preserved\n(see Tie::IxHash to do so when passing a hashref).\n\ndebug\nSet true to enable debugging.\n\nReturns a list consisting of the page content as a string, the HTTP response code and message\n(i.e. \"200 OK\" or \"404 Not Found\"), and a list of key/value pairs representing the HTTP response\nheaders.\n\nhttpspost HASHREF | FIELD => VALUE, ...\nAccepts parameters as either a hashref or a list of fields and values.\n\nParameters are:\n\nhost\nport\npath\nheaders (hashref)\nFor example: { 'X-Header1' => 'value', ... }\n\nContent-Type\nDefaults to \"application/x-www-form-urlencoded\" if not specified.\n\nargs\nCGI arguments, either as a hashref or a listref. In the latter case, ordering is preserved\n(see Tie::IxHash to do so when passing a hashref).\n\ncontent\nRaw content (overrides args). A simple scalar containing the raw content.\n\ndebug\nSet true to enable debugging in the underlying SSL module.\n\nReturns a list consisting of the page content as a string, the HTTP response code and message\n(i.e. \"200 OK\" or \"404 Not Found\"), and a list of key/value pairs representing the HTTP response\nheaders.\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Ivan Kohler, \"<ivan-net-https-any at freeside.biz>\"\n",
            "subsections": []
        },
        "BUGS": {
            "content": "Please report any bugs or feature requests to \"bug-net-https-any at rt.cpan.org\", or through the\nweb interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-HTTPS-Any>. I will be\nnotified, and then you'll automatically be notified of progress on your bug as I make changes.\n",
            "subsections": []
        },
        "SUPPORT": {
            "content": "You can find documentation for this module with the perldoc command.\n\nperldoc Net::HTTPS::Any\n\nYou can also look for information at:\n\n*   RT: CPAN's request tracker\n\n<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-HTTPS-Any>\n\n*   AnnoCPAN: Annotated CPAN documentation\n\n<http://annocpan.org/dist/Net-HTTPS-Any>\n\n*   CPAN Ratings\n\n<http://cpanratings.perl.org/d/Net-HTTPS-Any>\n\n*   Search CPAN\n\n<http://search.cpan.org/dist/Net-HTTPS-Any>\n\nCOPYRIGHT & LICENSE\nCopyright 2008-2016 Freeside Internet Services, Inc. (http://freeside.biz/) All rights reserved.\n\nThis program is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
            "subsections": []
        }
    },
    "summary": "Net::HTTPS::Any - Simple HTTPS client",
    "flags": [],
    "examples": [],
    "see_also": []
}