ahmadnassri/httpsnippet

View on GitHub
src/targets/c/libcurl/fixtures/custom-method.c

Summary

Maintainability
Test Coverage
CURL *hnd = curl_easy_init();

curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "PROPFIND");
curl_easy_setopt(hnd, CURLOPT_URL, "http://mockbin.com/har");

CURLcode ret = curl_easy_perform(hnd);