|
@@ -114,7 +114,7 @@ public class HttpRequest {
|
|
|
CloseableHttpClient httpclient = HttpClients.createDefault();
|
|
|
HttpPost httpPost = new HttpPost(url);
|
|
|
httpPost.setHeader("Content-Type", "application/json;charset=UTF-8");
|
|
|
- StringEntity stringEntity = new StringEntity(Json);
|
|
|
+ StringEntity stringEntity = new StringEntity(Json, "UTF-8");
|
|
|
stringEntity.setContentType("text/json");
|
|
|
httpPost.setEntity(stringEntity);
|
|
|
CloseableHttpResponse response = httpclient.execute(httpPost);
|