in reply to Brackets in LWP Post

Hi,

What is the value $self->{'auth'}->api_url_base? It looks like an object, should it not be a string?


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Brackets in LWP Post
by Bod (Parson) on May 11, 2021 at 17:55 UTC
    What is the value $self->{'auth'}->api_url_base?

    $self->{'auth'} is the authenticated instance of LWP::Authen::OAuth2. api_url_base is a method of that module that just returns a string with the base path of the API. In this case, the string is https://api.linkedin.com/v2/.

    documentation