mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 19:33:55 +00:00
Fixing curl $postData for php bindings
This commit is contained in:
parent
c98a78062f
commit
bfc14938d0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user