protected function httpPost()

in js/plugins/ajax-contact-extend/classes/twitter/EpiOAuth.php [130:139]


  protected function httpPost($url, $params = null)
  {
  $ch = curl_init($url);
  $this->addOAuthHeaders($ch, $url, $params['oauth']);
  curl_setopt($ch, CURLOPT_POST, 1);
  curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($params['request']));
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  $resp  = $this->curl->addCurl($ch);
  return $resp;
  }