Help for this page

Select Code to Download


  1. or download this
    # "GET" from HTTP::Request::Common creates an HTTP::Request object
    my $response = $test->request( GET '/' );
    ok( $response->is_success, 'Successful request' );
    my $html = $response->content;