title: How to set a cookie for a Http Get Request?
body: <p>Can't really figure out that one - how do I add a cookie to an HTTP GET request?</p>
  
  <pre><code>List&lt;Cookie&gt; cookies = httpcPostlient.getCookieStore().getCookies();
  
  Log.e("cookie_0", cookies.get(0).toString());
  
  try {
  
     HttpClient client = new DefaultHttpClient();
     HttpGet request = new HttpGet();
  
     // request &lt;- how do I set cookies.get(0) into here?
  
     request.setURI(new URI(myUrl));
  
     HttpResponse httpGetResponse = client.execute(request);
  }
  </code></pre>