如何查看httpClient.execute(...)发送的实际数据;?

时间:2015-04-21 05:29:24

标签: java httpclient apache-httpclient-4.x

我使用apache httpclient:http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientCustomContext.java

将get / post数据发送到外部网站

并非所有事情都能正常使用POST请求,我想确保正确填写标题。有没有办法让我看到httpClient.execute(...);?

发送的EXACT信息

谢谢!

0 个答案:

没有答案