Home > Back-end >  What's the difference between a StringEntity and HttpEntity?
What's the difference between a StringEntity and HttpEntity?

Time:04-28

In the call JianDaoYun interface,
StringEntity s=new StringEntity (requestBody. ToString (), "utf-8"); It will not be able to return to normal,
HttpEntity s=new StringEntity (requestBody. ToString (), "utf-8"); Thus,
Have bosses know is why, when using StringEntity response. GetStatusLine () getStatusCode ()=500
  • Related