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

@param $data

@throws \Exception
Send the data