Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 25 of 105) sorted by relevance

12345

/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/src/WebService/Http/
DCurlRequest.php34 $curl = $this->createCurl();
36 curl_setopt($curl, CURLOPT_POST, true);
37 curl_setopt($curl, CURLOPT_POSTFIELDS, $body);
39 return $this->execute($curl);
44 $curl = $this->createCurl();
46 curl_setopt($curl, CURLOPT_HTTPGET, true);
48 return $this->execute($curl);
56 $curl = curl_init($this->url);
86 curl_setopt_array($curl, $opts);
88 return $curl;
[all …]
/plugin/gtime/gtlib/http/
DGTHttpClient.php57 $curl = curl_init();
59 curl_setopt($curl, CURLOPT_URL, $stamperUrl);
60 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
61 curl_setopt($curl, CURLOPT_BINARYTRANSFER, 1);
62 curl_setopt($curl, CURLOPT_POST, 1);
63 curl_setopt($curl, CURLOPT_POSTFIELDS, $bytes);
65 $bytes = curl_exec($curl);
68 throw new GTException("Error creating timestamp, CURL error: " . curl_error($curl));
96 $curl = curl_init();
98 curl_setopt($curl, CURLOPT_URL, $verifierUrl);
[all …]
/plugin/jiralinks/
Daction.php95 $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);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
Dfetcher.url.curl.class.php39 $curl = curl_init();
43 curl_setopt($curl, CURLOPT_URL, $fixed_url);
44 curl_setopt($curl, CURLOPT_USERAGENT, DEFAULT_USER_AGENT);
46 if (!@curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1)) {
50 curl_setopt($curl, CURLOPT_HEADER, 1);
51 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
55 curl_setopt($curl, CURLOPT_PROXY, $proxy);
62 $response = curl_exec($curl);
67 curl_error($curl)));
68 curl_close($curl);
[all …]
/plugin/authfacebook/lib/HttpClients/
DFacebookCurl.php39 protected $curl; variable in Facebook\\HttpClients\\FacebookCurl
46 $this->curl = curl_init();
57 curl_setopt($this->curl, $key, $value);
67 curl_setopt_array($this->curl, $options);
77 return curl_exec($this->curl);
87 return curl_errno($this->curl);
97 return curl_error($this->curl);
109 return curl_getinfo($this->curl, $type);
127 curl_close($this->curl);
/plugin/youtracklinks/
Dhelper.php24 $curl = curl_init();
25 curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1);
26 curl_setopt($curl, CURLOPT_TIMEOUT, 1);
27 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
32 curl_setopt($curl, CURLOPT_POST, 1);
34 curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
37 curl_setopt($curl, CURLOPT_PUT, 1);
45 curl_setopt($curl, CURLOPT_URL, $url);
53 curl_setopt($curl, CURLOPT_COOKIEFILE, $cookiejar);
54 curl_setopt($curl, CURLOPT_COOKIEJAR, $cookiejar);
[all …]
/plugin/youtrack/
Dhelper.php100 $curl = curl_init();
101 curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1);
102 curl_setopt($curl, CURLOPT_TIMEOUT, 1);
103 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
107 curl_setopt($curl, CURLOPT_POST, 1);
109 curl_setopt($curl, CURLOPT_POSTFIELDS, $params);
113 curl_setopt($curl, CURLOPT_PUT, 1);
121 curl_setopt($curl, CURLOPT_URL, $url);
128 curl_setopt($curl, CURLOPT_COOKIEFILE, $this->cookie);
129 curl_setopt($curl, CURLOPT_COOKIEJAR, $this->cookie);
[all …]
/plugin/autotweet2/
Daction.php162 $this->curl = curl_init() ;
163 curl_setopt( $this->curl, CURLOPT_URL , $request_url ) ; // Request URL
164 curl_setopt( $this->curl, CURLOPT_HEADER, true ) ; // Get the header
165 curl_setopt( $this->curl, CURLOPT_CUSTOMREQUEST, $context['http']['method'] ) ; // Method
166 curl_setopt( $this->curl, CURLOPT_SSL_VERIFYPEER, false ) ; // Don't verify the certificate
167 …curl_setopt( $this->curl, CURLOPT_RETURNTRANSFER, true ) ; // Return the result of the curl_exec w…
168 curl_setopt( $this->curl, CURLOPT_HTTPHEADER, $context['http']['header'] ) ; // Header
170 … curl_setopt( $this->curl, CURLOPT_POSTFIELDS, $context['http']['content'] ) ; // Request body
172 curl_setopt( $this->curl, CURLOPT_TIMEOUT, 5 ) ; // Timeout seconds
173 $res1 = curl_exec( $this->curl ) ;
[all …]
/plugin/indobible/
Dsyntax.php73 $curl = curl_init();
77 curl_setopt($curl, CURLOPT_POST, 1);
80 curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
83 curl_setopt($curl, CURLOPT_PUT, 1);
91 …curl_setopt($curl, CURLOPT_HTTPHEADER, array("X-Requested-With: XMLHttpRequest", "Content-Type: ap…
92 curl_setopt($curl, CURLOPT_URL, $url);
93 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
95 $result = curl_exec($curl);
97 curl_close($curl);
/plugin/combo/vendor/php-webdriver/webdriver/lib/Remote/
H A DHttpCommandExecutor.php174 protected $curl; variable in Facebook\\WebDriver\\Remote\\HttpCommandExecutor
190 $this->curl = curl_init();
193 curl_setopt($this->curl, CURLOPT_PROXY, $http_proxy);
195 curl_setopt($this->curl, CURLOPT_PROXYPORT, $http_proxy_port);
204 curl_setopt($this->curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
205 curl_setopt($this->curl, CURLOPT_USERPWD, $auth_creds);
208 curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
209 curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, true);
210 curl_setopt($this->curl, CURLOPT_HTTPHEADER, static::DEFAULT_HTTP_HEADERS);
230 $this->curl,
[all …]
/plugin/validator/
Dhelper.php35 $curl = curl_init();
37 curl_setopt_array($curl, [
47 return $curl;
52 $curl = curl_init();
54 curl_setopt_array($curl, [
64 return $curl;
Daction.php98 $curl = $helper->$function(self::CAPTCHA_PROVIDERS[$mode]['verify_endpoint'], $data);
100 $responseBody = curl_exec($curl);
102 if (curl_errno($curl) || curl_getinfo($curl, CURLINFO_HTTP_CODE) !== 200) {
103 curl_close($curl);
107 curl_close($curl);
/plugin/twofactoryubiauth/
DYubiAuthenticator.php22 $curl = curl_init();
23 curl_setopt($curl, CURLOPT_URL, $url);
24 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
25 $result = curl_exec($curl);
26 curl_close($curl);
/plugin/botbouncer/lib/
Dmollom.php376 $curl = @curl_init();
379 @curl_setopt($curl, CURLOPT_USERAGENT, self::$userAgent);
382 @curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_0);
383 @curl_setopt($curl, CURLOPT_POST, true);
384 @curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
385 @curl_setopt($curl, CURLOPT_HEADER, true);
386 @curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
387 @curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, self::$timeout);
388 @curl_setopt($curl, CURLOPT_TIMEOUT, self::$timeout);
391 @curl_setopt($curl, CURLOPT_URL, $server .'/'. self::$version);
[all …]
Dbotbouncer.php550 $curl = curl_init();
551 curl_setopt($curl, CURLOPT_URL, $url);
552 curl_setopt($curl, CURLOPT_TIMEOUT, 30);
553 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
554 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
555 curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE);
556 curl_setopt($curl, CURLOPT_HTTPHEADER,$requestheader);
557 curl_setopt($curl, CURLOPT_DNS_USE_GLOBAL_CACHE, TRUE);
558 curl_setopt($curl, CURLOPT_USERAGENT,$this->UA);
559 curl_setopt($curl, CURLOPT_POST, 1);
[all …]
/plugin/authnc/
Dauth.php21 protected $curl = NULL; variable in auth_plugin_authnc
32 $this->curl = curl_init();
38 curl_setopt_array($this->curl, $options);
66 curl_close($this->curl);
443 curl_setopt($this->curl, CURLOPT_USERPWD, $user . ':' . $pass);
444 curl_setopt($this->curl, CURLOPT_URL, $url);
445 if ($result = curl_exec($this->curl)) {
/plugin/quickstats/GEOIP/vendor/composer/ca-bundle/
DREADME.md39 #### To use with curl
42 $curl = curl_init("https://example.org/");
46 curl_setopt($curl, CURLOPT_CAPATH, $caPathOrFile);
48 curl_setopt($curl, CURLOPT_CAINFO, $caPathOrFile);
51 $result = curl_exec($curl);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
Dnamespaces.asciidoc29 // Corresponds to curl -XGET localhost:9200/_stats
33 // Corresponds to curl -XGET localhost:9200/_nodes/stats
37 // Corresponds to curl -XGET localhost:9200/_cluster/stats
53 // Corresponds to curl -XGET localhost:9200/my_index/_stats
57 // Corresponds to curl -XGET localhost:9200/my_index1,my_index2/_stats
Dsearch-operations.asciidoc14 Here is a standard curl for a match query:
18 curl -XGET 'localhost:9200/my_index/_search' -d '{
137 curl -XGET 'localhost:9200/my_index/_search' -d '{
180 identical to the curl example. For more details about arrays and objects in PHP,
190 The curl version of the query:
194 curl -XGET 'localhost:9200/my_index/_search' -d '{
/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/
DCHANGELOG.md17 * On Mac OS X when using a curl built against SecureTransport, the certs
55 * Added extremely basic tests for the curl calls.
70 * An exception is now immediately thrown curl error rather than letting later
74 archive to a temporary file so that curl can use them.
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
DTelegramBotHandler.php118 if (!extension_loaded('curl')) {
119 … throw new MissingExtensionException('The curl extension is needed to use the TelegramBotHandler');
/plugin/webexteamsnotifier/
DREADME.md7 This tool depends on php-curl (and by that also curl).
/plugin/rocketchatnotifier/
DREADME.md12 This tool depends on php-curl (and by that also curl).
/plugin/webdav/vendor/sabre/http/lib/
DClient.php551 $curl = curl_init();
553 $curl,
556 curl_multi_add_handle($this->curlMultiHandle, $curl);
557 $this->curlMultiMap[intval($curl)] = [
/plugin/davcal/vendor/sabre/http/lib/
H A DClient.php549 $curl = curl_init();
551 $curl,
554 curl_multi_add_handle($this->curlMultiHandle, $curl);
555 $this->curlMultiMap[intval($curl)] = [

12345