COM-40 :: Change API submission type to JSON and adjust function names

This commit is contained in:
Junade Ali
2017-09-20 13:15:34 +01:00
parent a4ddb61d2a
commit 1baeeee882
2 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ class Guzzle implements Adapter
$response = $this->client->put($uri, [
'headers' => $headers,
'body' => $jsonBody
'json' => $jsonBody
]
);
@@ -88,7 +88,7 @@ class Guzzle implements Adapter
$response = $this->client->patch($uri, [
'headers' => $headers,
'body' => $jsonBody
'json' => $jsonBody
]
);
@@ -103,7 +103,7 @@ class Guzzle implements Adapter
{
$response = $this->client->delete($uri, [
'headers' => $headers,
'form_params' => $body
'json' => $body
]
);