|
@@ -85,7 +85,7 @@ json_t *requestJson(RequestMethod method, std::string url, json_t *dataJ) { |
|
|
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &resText); |
|
|
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &resText); |
|
|
|
|
|
|
|
|
// Perform request |
|
|
// Perform request |
|
|
info("Requesting %s", url.c_str()); |
|
|
|
|
|
|
|
|
// info("Requesting %s", url.c_str()); |
|
|
// curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); |
|
|
// curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L); |
|
|
CURLcode res = curl_easy_perform(curl); |
|
|
CURLcode res = curl_easy_perform(curl); |
|
|
|
|
|
|
|
|