diff --git a/src/Message/AbstractRequest.php b/src/Message/AbstractRequest.php index b7f5a41..db799f2 100644 --- a/src/Message/AbstractRequest.php +++ b/src/Message/AbstractRequest.php @@ -158,10 +158,10 @@ public function sendData($data) $this->getHttpMethod(), $url, $this->getHeaders(), - json_encode(array_merge([ + array_merge([ 'userName' => $this->getUserName(), 'password' => $this->getPassword() - ], $data)) + ], $data) ); $responseClassName = preg_replace('/Request/', 'Response', get_class($this));