---
name: "GitLab::API::v4::WWWClient"
section: "3pm"
platform: "linux"
package: "libgitlab-api-v4-perl"
version: "0.27-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/GitLab::API::v4::WWWClient"
---

# GitLab::API::v4::WWWClient(3pm)

A client that works against the GitLab web site.

## NAME

GitLab::API::v4::WWWClient - A client that works against the GitLab web site.

## 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 );
```

## DESCRIPTION

This class makes it possible to interact with the GitLab web site.

## REQUIRED ARGUMENTS

### url

This is the base URL to your GitLab web site.

## 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.

## SUPPORT

See "SUPPORT" in GitLab::API::v4.

## AUTHORS

See "AUTHORS" in GitLab::API::v4.

## LICENSE

See "LICENSE" in GitLab::API::v4.
