Skip to content

can't use api auth #4

@fferraro87

Description

@fferraro87

Hi,

i'm trying to authenticate with api, so i've create an api credential inside my whmcs and then use this code :

$config = new \Gufy\WhmcsPhp\Config([
    'baseUrl'=>'https://mywhmcs/includes/api.php',
    'username'=>'test',
    'password'=>'432sdffsd8sdfnQPWQN5xqR', //my secret API key
    'authType'=>'keys'
  ]);

but i've error because password it's not correct so how can i use api auth?
thanks

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