public function write($data = null) { $this->response = $this->httpClient->post($this->parameters['url'], $this->getRequestParameters($data)); }