From 91dbd38824a7eda31273536af6b7fd114e81e5dd Mon Sep 17 00:00:00 2001 From: Hans Date: Sun, 27 Aug 2017 00:28:21 -0500 Subject: [PATCH] Use correct format to post data. --- src/Adapter/Guzzle.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Adapter/Guzzle.php b/src/Adapter/Guzzle.php index 874f3fe..c9ac7cf 100644 --- a/src/Adapter/Guzzle.php +++ b/src/Adapter/Guzzle.php @@ -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."); } } -} \ No newline at end of file +}