NAME
Web::MREST::CLI::UserAgent - HTTP user agent for command-line client
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.
cookie_jar
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.