Lines Matching refs:curl
95 $curl = curl_init($this->getConf('jira_api_url') . $request);
104 curl_setopt($curl, CURLOPT_POST, TRUE);
107 curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data));
112 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
113 curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
114 curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC) ;
115 …curl_setopt($curl, CURLOPT_USERPWD, $this->getConf('jira_api_username') . ':' . $this->getConf('ji…
116 curl_setopt($curl, CURLOPT_TIMEOUT, 10);
117 curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
118 curl_setopt($curl, CURLOPT_HEADER, FALSE);
119 curl_setopt($curl, CURLOPT_HTTPHEADER, array("Content-type: application/json"));
122 $response = curl_exec($curl);
123 curl_close($curl);