Skip to content

Commit

Permalink
version updated
Browse files Browse the repository at this point in the history
  • Loading branch information
barisesen committed Jun 3, 2018
1 parent da7583a commit 1132dbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"php": ">=5.5.9",
"ext-curl": "*"
},
"version": "1.0.12",
"version": "1.0.13",
"minimum-stability": "dev"
}
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public function request($path, $params = null, $method = 'POST', $fullPath = fal
break;
case 'POST':
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params));
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($params));
break;
case 'DELETE':
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'DELETE');
Expand Down

0 comments on commit 1132dbe

Please sign in to comment.