<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Не удается получить сведения о задании с помощью REST API (идентификатор задания предоставлен)]]></title><description><![CDATA[<p dir="auto">Привет, эксперты Я следую приведенному ниже коду в JAVA- URL url = new URL("<br />
<a href="http://stlts02d:8080/api/tes-6.2.1-dev/method/Job/get/443083" rel="nofollow ugc">http://<a rel="nofollow ugc">hostname:portname</a>/api/&lt;DSP NAME&gt;/method/Job/get/443083</a><br />
"); HttpURLConnection conn = (HttpURLConnection) url.openConnection; conn.setRequestMethod("GET"); conn.setDoInput(true); conn.setDoOutput(true); String userNamePassword = "&lt;username&gt;:&lt;password&gt;"; userNamePassword = new String(org.apache.commons.codec.binary.Base64.encodeBase64(userNamePassword.getBytes)); conn.setRequestProperty("Authorization", userNamePassword); conn.connect; // System.out.println(conn.get); BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream)); String resp = ""; String next = null; while ((next = reader.readLine) != null) resp += next; System.out.println(resp); Я не получаю желаемый результат (детали задания). Пожалуйста, подскажите, если я что-то упустил. С уважением Сурав Чакраборти</p>
]]></description><link>https://sla247.ru/forum/topic/1844/не-удается-получить-сведения-о-задании-с-помощью-rest-api-идентификатор-задания-предоставлен</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 02:11:14 GMT</lastBuildDate><atom:link href="https://sla247.ru/forum/topic/1844.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Feb 2026 21:34:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Не удается получить сведения о задании с помощью REST API (идентификатор задания предоставлен) on Thu, 26 Feb 2026 21:34:35 GMT]]></title><description><![CDATA[<p dir="auto">Спасибо, Боб.<br />
![<img src="https://sla247.ru/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bf4cb1bda7d" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":slightly_smiling_face:" alt="🙂" />]</p>
<p dir="auto"><img src="/forum/uploads/files/cisco/ac6ce6af143f486cf9c06e9fedb0f5717047f379.png" alt="" class=" img-fluid img-markdown" /></p>
]]></description><link>https://sla247.ru/forum/post/13268</link><guid isPermaLink="true">https://sla247.ru/forum/post/13268</guid><dc:creator><![CDATA[dipuSourav]]></dc:creator><pubDate>Thu, 26 Feb 2026 21:34:35 GMT</pubDate></item><item><title><![CDATA[Reply to Не удается получить сведения о задании с помощью REST API (идентификатор задания предоставлен) on Thu, 26 Feb 2026 21:34:34 GMT]]></title><description><![CDATA[<p dir="auto">Попробуйте следующий способ URL url = new URL("<br />
<a href="http://%3chostname:portname%3e/api/%3cDSP%20NAME%3e/Job.get/443083">http://<a rel="nofollow ugc">hostname:portname</a>/api/&lt;DSP NAME&gt;/Job.get/443083</a><br />
"); Обратите внимание, что «method» не используется, а между job и get стоит точка, а не косая черта Боб Гарднер</p>
]]></description><link>https://sla247.ru/forum/post/13267</link><guid isPermaLink="true">https://sla247.ru/forum/post/13267</guid><dc:creator><![CDATA[Robert Gardner]]></dc:creator><pubDate>Thu, 26 Feb 2026 21:34:34 GMT</pubDate></item></channel></rss>