Blake McBride
2016-08-12 17:53:36 UTC
Hi,
I am using:
* if (!strcmp(ci->httpVerb, "GET"))*
* curl_easy_setopt(curl, CURLOPT_HTTPGET, 1L);*
* else if (!strcmp(ci->httpVerb, "POST"))*
* curl_easy_setopt(curl, CURLOPT_POST, 1L);*
* else if (!strcmp(ci->httpVerb, "PUT"))*
* curl_easy_setopt(curl, CURLOPT_PUT, 1L);*
* else if (!strcmp(ci->httpVerb, "PATCH"))*
* ???????????;*
I can't figure out what to do in the case of a PATCH method. Sure
appreciate some help.
Thanks!
Blake McBride
I am using:
* if (!strcmp(ci->httpVerb, "GET"))*
* curl_easy_setopt(curl, CURLOPT_HTTPGET, 1L);*
* else if (!strcmp(ci->httpVerb, "POST"))*
* curl_easy_setopt(curl, CURLOPT_POST, 1L);*
* else if (!strcmp(ci->httpVerb, "PUT"))*
* curl_easy_setopt(curl, CURLOPT_PUT, 1L);*
* else if (!strcmp(ci->httpVerb, "PATCH"))*
* ???????????;*
I can't figure out what to do in the case of a PATCH method. Sure
appreciate some help.
Thanks!
Blake McBride