Lines Matching defs:curl
12 * are also available at https://curl.haxx.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
31 CURL *curl;
41 curl = curl_easy_init();
42 if(!curl) {
48 test_setopt(curl, CURLOPT_VERBOSE, 1L);
49 test_setopt(curl, CURLOPT_POST, 1L);
50 test_setopt(curl, CURLOPT_AWS_SIGV4, "provider1:provider2:region:service");
51 test_setopt(curl, CURLOPT_USERPWD, "keyId:SecretKey");
52 test_setopt(curl, CURLOPT_HEADER, 0L);
53 test_setopt(curl, CURLOPT_URL, URL);
57 test_setopt(curl, CURLOPT_CONNECT_TO, connect_to);
59 test_setopt(curl, CURLOPT_HTTPHEADER, list);
60 test_setopt(curl, CURLOPT_POSTFIELDS, "postData");
62 res = curl_easy_perform(curl);
68 curl_easy_cleanup(curl);