title: Add paramethers to libcurl GET in c++
body: <p>I want to add some additional data in variable to HTTP GET using c++. When I make request using HTTP POST I do it like that:</p>
  
  <pre><code>    curl_easy_setopt(curl, CURLOPT_URL, path);
      curl_formadd(&amp;beginPostList, &amp;endPostList, CURLFORM_COPYNAME, "variable1", CURLFORM_COPYCONTENTS, variable1.c_str(), CURLFORM_END);
      curl_formadd(&amp;beginPostList, &amp;endPostList, CURLFORM_COPYNAME, "variable2", CURLFORM_COPYCONTENTS, variable2.c_str(), CURLFORM_END);
      curl_formadd(&amp;beginPostList, &amp;endPostList, CURLFORM_COPYNAME, "variable3", CURLFORM_COPYCONTENTS, variable3.c_str(), CURLFORM_END);
  
      curl_easy_setopt(curl, CURLOPT_POST, true);
      curl_easy_setopt(curl, CURLOPT_HTTPPOST, beginPostList);
  </code></pre>
  
  <p>But how can I do similar thing using GET methid?</p>