Mashape/httpsnippet

View on GitHub
src/targets/c/libcurl/fixtures/https.c

Summary

Maintainability
Test Coverage
CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "GET");
curl_easy_setopt(hnd, CURLOPT_URL, "https://mockbin.com/har");

CURLcode ret = curl_easy_perform(hnd);