We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ab0f8 commit 70e39e4Copy full SHA for 70e39e4
src/BazaarApiClient.php
@@ -67,7 +67,11 @@ public function request(){
67
$response = null;
68
try {
69
/** @var FutureResponse $response */
70
- $response = $this->client->get($this->request->getUri(), $this->requestOptions);
+ if($this->request->isPost()){
71
+ $response = $this->client->post($this->request->getUri(), $this->requestOptions);
72
+ }else {
73
+ $response = $this->client->get($this->request->getUri(), $this->requestOptions);
74
+ }
75
} catch (ClientException $e) {
76
77
$networkException = new NetworkErrorException();
0 commit comments