Lines Matching defs:curl
12 * are also available at https://curl.se/docs/copyright.html.
21 * SPDX-License-Identifier: curl
29 #include <curl/curl.h>
33 CURL *curl;
39 /* get a curl handle */
40 curl = curl_easy_init();
41 if(curl) {
45 curl_easy_setopt(curl, CURLOPT_URL, "http://postit.example.com/moo.cgi");
47 curl_easy_setopt(curl, CURLOPT_POSTFIELDS, "name=daniel&project=curl");
50 res = curl_easy_perform(curl);
57 curl_easy_cleanup(curl);