Fixing curl $postData for php bindings

This commit is contained in:
James Ebentier 2015-01-27 13:16:20 -08:00
parent c98a78062f
commit bfc14938d0

View File

@ -66,7 +66,7 @@ class APIClient {
}
if (is_object($postData) or is_array($postData)) {
$postData = json_encode($this->sanitizeForSerialization($postData));
$postData = http_build_query($this->sanitizeForSerialization($postData));
}
$url = $this->apiServer . $resourcePath;