I have web service URL, it working fine. It gives the JSON data.
When I am using HttpURLConnection and InputStream, I am getting this erro
HttpURLConnection
InputStream
Just found out the solution It is really a server side problem AND The solution is to send the content-length header If you are using php just make your code like this
The trick used here is to send the content-length header using the output buffer