java - 为什么httpclient4.4.1的post对方服务器收不到参数?
巴扎黑
巴扎黑 2017-04-18 10:46:30
0
2
607
巴扎黑
巴扎黑

reply all(2)
伊谢尔伦

Did you write the IP address correctly?

洪涛

Comment this line and try it

        httppost.setHeader("Content-Type", "text/html;charset=UTF-8");
       
       
或者 这样    
    httppost.setHeader("Content-Type", "application/x-www-form-urlencoded");
    

http://blog.csdn.net/Q_AN1314...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template