The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Web::MREST::CLI::UserAgent - HTTP user agent for command-line client

VERSION

Version 0.262

SYNOPSIS

    use Web::MREST::CLI::UserAgent qw( send_req );

    my $status = send_req( 'GET', 'bugreport' );

EXPORTS

PACKAGE VARIABLES

FUNCTIONS

init_ua

Initialize the LWP::UserAgent singleton object.

Return the cookie_jar associated with our user agent.

send_req

Send a request to the server, get the response, convert it from JSON, and return it to caller. Die on unexpected errors.