title: Not getting JSON response
body: <p>I have the following code for "POST" request where, I have an API and parameters.
  But, here I am getting no response and no error also. plz help me.</p>
  
  <pre><code>public JSONObject makeHttpRequest(String url, List&lt;NameValuePair&gt; params)       throws Exception {      
          // Making HTTP request
          try {
              Log.d("URL :", url);
              Log.d("params :", params.toString());
                  // defaultHttpClient
                  DefaultHttpClient httpClient = new DefaultHttpClient();
                  HttpPost httpPost = new HttpPost(url);
                  httpPost.setEntity(new UrlEncodedFormEntity(params));
                  HttpResponse httpResponse = httpClient.execute(httpPost);
                  HttpEntity httpEntity = httpResponse.getEntity();
                  is = httpEntity.getContent();
             Log.d("InputStreem :", is.toString());
          } catch (UnsupportedEncodingException e) {
              e.printStackTrace();
          } catch (ClientProtocolException e) {
            e.printStackTrace();
          } catch (IOException e) {
            e.printStackTrace();
          }
          try {
              BufferedReader reader = new BufferedReader(new InputStreamReader(is, "iso-8859-1"), 8);
              Log.d("BufferedReader :", reader.toString());
                    StringBuilder sb = new StringBuilder();
                    String line = null;
                    while ((line = reader.readLine()) != null) {
                      sb.append(line + "\n");
                    }
                    is.close();
                    jsonResponse = sb.toString();
              System.out.println("Respose :"+jsonResponse);//Here Resonse: "nothing"
          } catch (Exception e) {
              throw new Exception(e.getMessage());
          }
          // try parse the string to a JSON object
          try {
              jsonData = new JSONObject(jsonResponse);
          } catch (JSONException e) {
              throw new Exception(e.getMessage());
          }
          // return JSON String
          return jsonData;
      }
  </code></pre>