Since CURLOPT_HTTPPOST is deprecated option in libcurl, build error
occured in Tizen-Unified-X environment.
According to the documentation of libcurl, CURLOPT_HTTPPOST is replaced
by CURLOPT_MIMEPOST.
Change-Id: I9717a27967c171dc6609e55fcc6470e4c9c21400
break;
case HTTP_METHOD_POST:
// FIXME later : If the post method is supprot, the post data should be set with curl_fromadd
- curl_easy_setopt(curl, CURLOPT_HTTPPOST, post);
+ curl_easy_setopt(curl, CURLOPT_MIMEPOST, post);
DA_LOGI("Need more information for post filed");
break;
case HTTP_METHOD_HEAD: