We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3442fa commit 6688578Copy full SHA for 6688578
Atomx/AtomxClient.php
@@ -67,9 +67,11 @@ public function login()
67
$this->shouldSendToken = false;
68
69
try {
70
- $response = $this->getUrl('login', [
71
- 'email' => $this->accountStore->getUsername(),
72
- 'password' => $this->accountStore->getPassword()
+ $response = $this->postUrl('login', [
+ 'json' => [
+ 'email' => $this->accountStore->getUsername(),
73
+ 'password' => $this->accountStore->getPassword()
74
+ ]
75
]);
76
} catch (ApiException $e) {
77
throw new ApiException('Unable to login to API!');
0 commit comments