Use correct format to post data.
This commit is contained in:
@@ -50,7 +50,7 @@ class Guzzle implements Adapter
|
||||
{
|
||||
$response = $this->client->post($uri, [
|
||||
'headers' => $headers,
|
||||
'form_params' => $body
|
||||
'json' => $body
|
||||
]
|
||||
);
|
||||
|
||||
@@ -125,4 +125,4 @@ class Guzzle implements Adapter
|
||||
throw new ResponseException("Request was unsuccessful.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user