+
-development with curl
+$ curl https://example.com/ <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> @@ -100,59 +30,62 @@- - -development with curl
</head><body>
-
+ development with libcurl
-
- curl = curl_easy_init();
- if(curl) {
- curl_easy_setopt(curl, CURLOPT_URL, "https://curl.se");
- curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
+
- res = curl_easy_perform(curl);
- curl_easy_cleanup(curl);
- }
+
+
+ development with libcurl
+
+curl = curl_easy_init();
+if (curl) {
+ curl_easy_setopt(curl, CURLOPT_URL, "https://curl.se");
+ curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
+
+ res = curl_easy_perform(curl);
+ curl_easy_cleanup(curl);
+}
-
+
-