GitLab::API::v4::WWWClient - A client that works against the GitLab web site.
Contents
Description
This class makes it possible to interact with the GitLab web site.
License
See "LICENSE" in GitLab::API::v4.
perl v5.36.0 2023-06-13 GitLab::API::v4::WWWClient(3pm)
Methods
sign_in
$client->sign_in( $username, $password );
Signs in the client given the username and password.
get
my $res = $client->get( $path );
Gets the path and returns the HTTP::Tiny response hash.
Name
GitLab::API::v4::WWWClient - A client that works against the GitLab web site.
Required Arguments
url
This is the base URL to your GitLab web site.
Support
See "SUPPORT" in GitLab::API::v4.
Synopsis
use GitLab::API::v4::WWWClient;
my $client = GitLab::API::v4::WWWClient->new(
url => 'https://git.example.com/',
);
$client->sign_in( $username, $password );
my $res = $client->get( $path );
