title: Android - Sending HTTPS Get Request
body: <p>I would like to send a HTTPS Get Request to the google shopping api however nothing is quite working for me, for example here is what I'm trying at the moment:</p>
  <pre><code>try {        
      HttpClient client = new DefaultHttpClient();
      HttpGet request = new HttpGet();
      request.setURI(new URI(&quot;https://www.googleapis.com/shopping/search/v1/public/products/?key={my_key}&amp;country=&amp;q=t-shirts&amp;alt=json&amp;rankByrelevancy=&quot;));
      HttpResponse response = client.execute(request);
  } catch (URISyntaxException e) {
      e.printStackTrace();
  } catch (ClientProtocolException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  } catch (IOException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
  }   
  return response;
  </code></pre>
  <p>If anyone has any suggestions on how to improve this or replace it please let me know, thanks in advance.</p>