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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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