Commit 592e63fd authored by Abzal Kultayev's avatar Abzal Kultayev

[services:100] Доработан рест метод

parent 61b91e63
...@@ -107,6 +107,10 @@ public class RestHttpQuery { ...@@ -107,6 +107,10 @@ public class RestHttpQuery {
result += param.getKey() + "=" + value + "&"; result += param.getKey() + "=" + value + "&";
} }
if (result.isEmpty()) {
return result;
}
return result.substring(0, result.length() - 1); return result.substring(0, result.length() - 1);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment