Merge pull request #199 from faxm0dem/fix/curl-queryparam

Fix libcurl implementation when using query params
This commit is contained in:
John Reese 2016-05-06 14:36:45 -07:00
commit ca77935496
1 changed files with 4 additions and 0 deletions

View File

@ -1856,6 +1856,10 @@ CURLcode make_curl_request(const CString& service_host, const CString& service_u
CString url = CString(use_ssl ? "https" : "http") + "://" + service_host + service_url;
CString query = build_query_string(params);
if (!query.empty())
{
url = url + "?" + query;
}
if (debug)
{