NAME
App::Dochazka::CLI::HTTP - HTTP for Dochazka command line client
VERSION
Version 0.058
SYNOPSIS
use App::Dochazka::CLI::HTTP qw( send_req );
my $status = send_req( 'GET', 'employee/current' );
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 bless it into a status object.