title: org.json.JSONException: Value !DOCTYPE of type java.lang.String cannot be converted to JSONObject
body: <p>I have to send HttpRequest to server using api in this manner.</p>
  
  <pre><code>json = jsonParser.makeHttpRequest(URL+userid+"key"+serverKey,"GET",params);
  </code></pre>
  
  <p>and I am getting this error.</p>
  
  <blockquote>
    <p>org.json.JSONException: Value !DOCTYPE of type java.lang.String cannot be converted to JSONObject</p>
  </blockquote>
  
  <p>But When I am sending userID statically like this.. </p>
  
  <pre><code> json = jsonParser.makeHttpRequest(URL+123+"key"+favc56sjdlkht654hatakomn657g4328,"GET",params);
  </code></pre>
  
  <blockquote>
    <p>I am getting proper json response.</p>
    
    <p>this is the api I am using.</p>
  </blockquote>
  
  <p><a href="http://m.sabakuch.com/api/mypost/id/1289/key/fa4cdfa057fdfc19e3470cd7b6ee943a" rel="nofollow">http://m.sabakuch.com/api/mypost/id/1289/key/fa4cdfa057fdfc19e3470cd7b6ee943a</a></p>
  
  <p>please let me know what mistake I am doing here??</p>