public function post($url, $data, array $customHeaders = [])
    {
        return $this->handleFailover(function() use ($url, $data, $customHeaders) {
            $response = $this->executeRequest(HttpHelper::METHOD_POST, $url, $data, $customHeaders);

            return $this->parseResponse($response);
        });
    }
public function post($url, $data, array $customHeaders = [])
    {
        return $this->handleFailover(function() use ($url, $data, $customHeaders) {
            $response = $this->executeRequest(HttpHelper::METHOD_POST, $url, $data, $customHeaders);

            return $this->parseResponse($response);
        });
    }
public function post ( $ url , $ data , array $ customHeaders = [ ] ) { return $ this -> handleFailover ( function ( ) use ( $ url , $ data , $ customHeaders ) { $ response = $ this -> executeRequest ( HttpHelper :: METHOD_POST , $ url , $ data , $ customHeaders ) ; return $ this -> parseResponse ( $ response ) ; } ) ; }
Issue an HTTP POST request with the data provided

@throws Exception

@param string $url  - POST URL
@param string $data - body to post
@param array  $customHeaders

@return HttpResponse
Issue an HTTP POST request with the data provided