增加报送的头信息
parent
283439f860
commit
f2e2835076
|
|
@ -105,6 +105,7 @@ public class HttpPool {
|
|||
HttpPost httpPost = new HttpPost(url);
|
||||
List<NameValuePair> nvps =getFromMap(parms);
|
||||
httpPost.setEntity(new UrlEncodedFormEntity(nvps));
|
||||
httpPost.addHeader("Content-Type", "application/json");
|
||||
CloseableHttpResponse response2 = httpclient.execute(httpPost);
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue