title: C++ Http Request with POCO
body: <p>I'm wondering how I can do a request to a URL (e.g. download a picture and save it) with POCO in C++?</p>
  
  <p>I got this little code so far</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include "multiplication.h"
  #include &lt;vector&gt;
  #include &lt;HTTPRequest.h&gt;
  using std::cout;
  using std::cin;
  using std::getline;
  
  using namespace Poco;
  using namespace Net;
  
  int main() {
      HTTPRequest *test = new HTTPRequest("HTTP_GET", "http://www.example.com", "HTTP/1.1");
  }
  </code></pre>