Skip to content

No way to set endpoint for login #9

Description

@elazar

__construct() will configure the endpoint, but login() does not provide a way to specify the endpoint for its call to __construct().

For the moment, I've resorted to not calling login(), but instead doing this:

$client = new \Wheniwork(null, $options);
$response = $client->post('login', $params);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions