ГР
Server или сущность которая внутри метода делает отправку?
Size: a a a
ГР
EF
ch
ГР
ГР
DC
ГР
DC
ГР
DC
ГР
ГР
DC
ГР
CloseableHttpClient client = HttpClients.
createDefault();
HttpPost httpPost = new HttpPost(urlSend);
HttpEntity httpEntity = EntityBuilder.
create()
.setContentType(ContentType.
create("text/csv", StandardCharsets.
UTF_8))
.setFile(fileCsv)
.build();
httpPost.setEntity(httpEntity);
httpPost.addHeader("Authorization", "Basic " + token);
httpPost.addHeader("Accept", "application/xml");
try (CloseableHttpResponse response = client.execute(httpPost))
EntityBuilder.
create()
VP
ГР
VP
DC