Http Body Post In Android
I am new to android development. In my application I have to use HTTP body post. But I'm getting an error. Here is my code: HttpClient httpclient = new DefaultHttpClient(); HttpPos
Solution 1:
The server returned a response that you can't handle. Well, you do handle it as the response goes to ClientProtocolException
Most likely you need to be setting some header information your HttpPost
object with the setHeader
function.
This is an issue with the server you are trying to connect to simply not accepting what you sent it.
Post a Comment for "Http Body Post In Android"