Skip to content

Commit

Permalink
Merge pull request #24 from MblKiTA/patch-1
Browse files Browse the repository at this point in the history
Json POST fix
  • Loading branch information
mevdschee committed Jun 6, 2016
2 parents c168c70 + 3544f5e commit f78630e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Call/HttpPostJson.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
*
* @author Maurits van der Schee <[email protected]>
*/
class HttpPostJson extends CurlCall implements ApiCallInterface
class HttpPostJson extends HttpPost implements ApiCallInterface
{
/**
* {@inheritdoc}
*/
public function generateRequestData()
{
$this->requestData = http_build_query($this->requestObject);
$this->requestData = json_encode($this->requestObject);
}

/**
Expand Down

0 comments on commit f78630e

Please sign in to comment.