%options = ( "url" => "j_security_check", "j_username" => $username, "j_password" => $password ); $res = $client->POST( \%options ); $res = $client->GET("api/14/system/info"); print Dumper ($res);